Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 79.81 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3316, allocations: 66.08 MB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2005/0.5321, allocations: 161.6 MB / 0.7193 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006363/0.5385, allocations: 3.395 MB / 0.7226 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.5391, allocations: 27.69 kB / 0.7226 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009728/0.5401, allocations: 317.9 kB / 0.7229 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.5449, allocations: 1.755 MB / 0.7246 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.5469, allocations: 0.7165 MB / 0.7253 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002188/0.5491, allocations: 1.555 MB / 0.7269 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.5497, allocations: 363.9 kB / 0.7272 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.5507, allocations: 0.6111 MB / 0.7278 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.5514, allocations: 486 kB / 0.7283 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.5515, allocations: 48 kB / 0.7283 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.5544, allocations: 1.248 MB / 0.7295 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.5546, allocations: 163.4 kB / 0.7297 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.555, allocations: 294.8 kB / 0.73 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.5579, allocations: 1.671 MB / 0.7316 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5579, allocations: 0 / 0.7316 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.129e-06/0.5579, allocations: 3.984 kB / 0.7316 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.558, allocations: 4 kB / 0.7316 GB, free: 5.18 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002057/0.56, allocations: 1.029 MB / 0.7326 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.5601, allocations: 15.97 kB / 0.7326 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.634e-05/0.5601, allocations: 9 kB / 0.7326 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.5602, allocations: 86.45 kB / 0.7327 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5612, allocations: 143.5 kB / 0.7328 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.5621, allocations: 429.5 kB / 0.7333 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.5621, allocations: 33 kB / 0.7333 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.5622, allocations: 44 kB / 0.7333 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.5635, allocations: 0.8879 MB / 0.7342 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5635, allocations: 0 / 0.7342 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/0.5636, allocations: 20 kB / 0.7342 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.5636, allocations: 12 kB / 0.7342 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5646, allocations: 483.5 kB / 0.7347 GB, free: 1.832 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2513/0.8159, allocations: 1.956 MB / 0.7366 GB, free: 176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.8169, allocations: 325.7 kB / 0.7369 GB, free: 176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.8173, allocations: 156.5 kB / 0.7371 GB, free: 176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.8176, allocations: 51.8 kB / 0.7371 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8176, allocations: 45.59 kB / 0.7372 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.086e-06/0.8176, allocations: 2.672 kB / 0.7372 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001912/0.8196, allocations: 0.64 MB / 0.7378 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.8196, allocations: 137.5 kB / 0.7379 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.8202, allocations: 478.8 kB / 0.7384 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.8203, allocations: 31.89 kB / 0.7384 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.8205, allocations: 285.3 kB / 0.7387 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.8205, allocations: 127.7 kB / 0.7388 GB, free: 175 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.8207, allocations: 103.9 kB / 0.7389 GB, free: 175 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.8208, allocations: 366.8 kB / 0.7392 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.8211, allocations: 143.8 kB / 0.7394 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.8214, allocations: 360.7 kB / 0.7397 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.822, allocations: 442.3 kB / 0.7401 GB, free: 174 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.822, allocations: 3.312 kB / 0.7401 GB, free: 174 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008783/0.8229, allocations: 0.5434 MB / 0.7407 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8229, allocations: 7.188 kB / 0.7407 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8229, allocations: 4.875 kB / 0.7407 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.8244, allocations: 247.5 kB / 0.7409 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.8248, allocations: 103 kB / 0.741 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003258/0.8251, allocations: 0.5935 MB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.8254, allocations: 50.12 kB / 0.7417 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.8255, allocations: 48.58 kB / 0.7417 GB, free: 173.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.8257, allocations: 186.3 kB / 0.7419 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.8258, allocations: 56.52 kB / 0.7419 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.8273, allocations: 1.085 MB / 0.743 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8273, allocations: 7.125 kB / 0.743 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8273, allocations: 0 / 0.743 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8273, allocations: 7.938 kB / 0.743 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.8284, allocations: 0.9201 MB / 0.7439 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8284, allocations: 5.109 kB / 0.7439 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.8286, allocations: 55.28 kB / 0.744 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003041/0.8317, allocations: 440.8 kB / 0.7444 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.8317, allocations: 19.88 kB / 0.7444 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002963/0.832, allocations: 0.6031 MB / 0.745 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.832, allocations: 0 / 0.745 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.8326, allocations: 0.5079 MB / 0.7455 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.8327, allocations: 59.88 kB / 0.7455 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.8328, allocations: 13.36 kB / 0.7456 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.8331, allocations: 19.98 kB / 0.7456 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.8332, allocations: 27.95 kB / 0.7456 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.8332, allocations: 15.98 kB / 0.7456 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003671/0.8336, allocations: 410.8 kB / 0.746 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8336, allocations: 0 / 0.746 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008247/0.8344, allocations: 346.2 kB / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.836, allocations: 1.381 MB / 0.7477 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007194/0.8367, allocations: 352.8 kB / 0.748 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8367, allocations: 0 / 0.748 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.837, allocations: 161.8 kB / 0.7482 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.8385, allocations: 374.8 kB / 0.7485 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.8433, allocations: 4.874 MB / 0.7533 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.8435, allocations: 259.6 kB / 0.7535 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008227/0.8443, allocations: 0.5449 MB / 0.7541 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.8446, allocations: 227.3 kB / 0.7543 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.8446, allocations: 0 / 0.7543 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.8867, allocations: 25.12 MB / 0.7788 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.31, allocations: 4.062 kB / 0.7788 GB, free: 136.1 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.300463804975152] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 14.488023730926216 14.497985743 13.937706178 Calling exit ...