Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2319/0.2319, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.91 kB / 0.4916 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1196, allocations: 65.99 MB / 0.5561 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03365/0.1532, allocations: 28.45 MB / 0.5838 GB, free: 9.324 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2672/0.4204, allocations: 13.33 MB / 0.5969 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.4208, allocations: 16.41 kB / 0.5969 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007518/0.4215, allocations: 253.4 kB / 0.5971 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009927/0.4315, allocations: 3.674 MB / 0.6007 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007475/0.4389, allocations: 2.379 MB / 0.603 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.4405, allocations: 0.8988 MB / 0.6039 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.4409, allocations: 216.7 kB / 0.6041 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00096/0.4419, allocations: 457.5 kB / 0.6045 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.4423, allocations: 284.5 kB / 0.6048 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.496e-05/0.4424, allocations: 33.44 kB / 0.6048 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01644/0.4588, allocations: 7.256 MB / 0.6119 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.4591, allocations: 108.7 kB / 0.612 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.4595, allocations: 221.2 kB / 0.6122 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4719, allocations: 4.428 MB / 0.6166 GB, free: 2.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4719, allocations: 0 / 0.6166 GB, free: 2.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4719, allocations: 1.125 kB / 0.6166 GB, free: 2.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.4719, allocations: 4 kB / 0.6166 GB, free: 2.379 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00404/0.476, allocations: 1.274 MB / 0.6178 GB, free: 1.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.476, allocations: 9.25 kB / 0.6178 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.283e-05/0.476, allocations: 8.625 kB / 0.6178 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.4761, allocations: 75.62 kB / 0.6179 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.4779, allocations: 217.2 kB / 0.6181 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.4783, allocations: 382.4 kB / 0.6185 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.4784, allocations: 33.34 kB / 0.6185 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.4784, allocations: 30.19 kB / 0.6185 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.48, allocations: 0.5855 MB / 0.6191 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.48, allocations: 1.219 kB / 0.6191 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.48, allocations: 16.31 kB / 0.6191 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.48, allocations: 12.59 kB / 0.6191 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.4817, allocations: 0.5513 MB / 0.6197 GB, free: 0.6523 MB / 446.1 MB 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.003218/0.4849, allocations: 2.619 MB / 0.6222 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.4867, allocations: 454.9 kB / 0.6227 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.4872, allocations: 184.8 kB / 0.6228 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05655/0.5437, allocations: 26.88 MB / 0.6491 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.5438, allocations: 38.56 kB / 0.6491 GB, free: 5.672 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.5438, allocations: 0 / 0.6491 GB, free: 5.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003186/0.547, allocations: 0.8272 MB / 0.6499 GB, free: 4.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.547, allocations: 106.8 kB / 0.65 GB, free: 4.711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.5474, allocations: 316.4 kB / 0.6503 GB, free: 4.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.5475, allocations: 29.7 kB / 0.6504 GB, free: 4.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.5476, allocations: 208.5 kB / 0.6506 GB, free: 4.152 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.5477, allocations: 89.69 kB / 0.6507 GB, free: 4.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5479, allocations: 69.64 kB / 0.6507 GB, free: 3.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.548, allocations: 346.8 kB / 0.6511 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.5485, allocations: 150.1 kB / 0.6512 GB, free: 3.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.5491, allocations: 246.8 kB / 0.6514 GB, free: 3.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.55, allocations: 381.2 kB / 0.6518 GB, free: 2.812 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5501, allocations: 0 / 0.6518 GB, free: 2.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001191/0.5512, allocations: 441 kB / 0.6522 GB, free: 2.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5513, allocations: 8.312 kB / 0.6522 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5513, allocations: 4 kB / 0.6522 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.5513, allocations: 10 kB / 0.6522 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.5517, allocations: 87.81 kB / 0.6523 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5517, allocations: 4 kB / 0.6523 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.552, allocations: 55.75 kB / 0.6524 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.5521, allocations: 16 kB / 0.6524 GB, free: 2.195 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.5523, allocations: 161.7 kB / 0.6525 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.5524, allocations: 39.75 kB / 0.6526 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.5552, allocations: 1.913 MB / 0.6545 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/0.5553, allocations: 27.95 kB / 0.6545 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5553, allocations: 3.938 kB / 0.6545 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5553, allocations: 3.984 kB / 0.6545 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.5565, allocations: 1.028 MB / 0.6555 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.5565, allocations: 4 kB / 0.6555 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.5569, allocations: 71.92 kB / 0.6556 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5569, allocations: 3.938 kB / 0.6556 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.5569, allocations: 15.94 kB / 0.6556 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5569, allocations: 0 / 0.6556 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5569, allocations: 0 / 0.6556 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.5587, allocations: 1.1 MB / 0.6567 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.5588, allocations: 164.3 kB / 0.6568 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.5589, allocations: 27.77 kB / 0.6568 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.5592, allocations: 31.67 kB / 0.6569 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5593, allocations: 35.95 kB / 0.6569 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.5593, allocations: 11.98 kB / 0.6569 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004164/0.5598, allocations: 323.1 kB / 0.6572 GB, free: 13.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5598, allocations: 0 / 0.6572 GB, free: 13.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003976/0.5637, allocations: 1.014 MB / 0.6582 GB, free: 12.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008336/0.5721, allocations: 2.725 MB / 0.6609 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.5737, allocations: 0.5982 MB / 0.6615 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5737, allocations: 4.625 kB / 0.6615 GB, free: 8.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007812/0.5745, allocations: 417 kB / 0.6619 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5759, allocations: 220 kB / 0.6621 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.5864, allocations: 5.039 MB / 0.667 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.5871, allocations: 0.9677 MB / 0.6679 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005243/0.5876, allocations: 282.3 kB / 0.6682 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.5879, allocations: 259.3 kB / 0.6685 GB, free: 1.582 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5879, allocations: 0 / 0.6685 GB, free: 1.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09067/0.6786, allocations: 46.87 MB / 0.7142 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.55, allocations: 10.75 kB / 0.7142 GB, free: 2.875 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.775810944964178] Failed to read output from testmodel.py, exit status != 0: ['time', 'SourceP1.ports[1].m_flow', 'SourceP1.ports[1].p', 'SourceP1.ports[1].h_outflow', 'V1.port_b.m_flow', 'V1.port_b.p', 'V1.port_b.h_outflow', 'SinkP1.ports[1].m_flow', 'SinkP1.ports[1].p', 'SinkP1.ports[1].h_outflow', 'Opening.y', 'downstreamPressure.y'] 12.709876896988135 12.735210884 12.258392592 Calling exit ...