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.00183/0.00183, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002345/0.002345, allocations: 218.7 kB / 24.52 MB, free: 3.914 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.2309/0.2309, allocations: 46.97 MB / 361.7 MB, free: 3.992 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.002154/0.002154, allocations: 67.89 kB / 0.4969 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 66.03 MB / 0.5614 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03226/0.3659, allocations: 25.9 MB / 0.5866 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.3829, allocations: 11.75 MB / 0.5981 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.3832, allocations: 19.81 kB / 0.5981 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000821/0.3841, allocations: 234.5 kB / 0.5984 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009953/0.394, allocations: 3.65 MB / 0.6019 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006686/0.4007, allocations: 2.349 MB / 0.6042 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.4021, allocations: 0.9197 MB / 0.6051 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.4025, allocations: 212.8 kB / 0.6053 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000881/0.4033, allocations: 446.2 kB / 0.6057 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.4037, allocations: 286.8 kB / 0.606 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.4038, allocations: 36 kB / 0.606 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/0.4173, allocations: 7.192 MB / 0.6131 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.4175, allocations: 103.6 kB / 0.6132 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.4178, allocations: 187.2 kB / 0.6134 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.4278, allocations: 4.423 MB / 0.6177 GB, free: 10.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4278, allocations: 0 / 0.6177 GB, free: 10.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4278, allocations: 0 / 0.6177 GB, free: 10.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.4278, allocations: 0 / 0.6177 GB, free: 10.36 MB / 462.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.003221/0.4311, allocations: 1.199 MB / 0.6188 GB, free: 9.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4311, allocations: 11.97 kB / 0.6189 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.201e-05/0.4311, allocations: 8.844 kB / 0.6189 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.4312, allocations: 70.72 kB / 0.6189 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.433, allocations: 212.5 kB / 0.6191 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.4336, allocations: 317.2 kB / 0.6194 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.4336, allocations: 25.03 kB / 0.6195 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.4337, allocations: 31.94 kB / 0.6195 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.4355, allocations: 0.7408 MB / 0.6202 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4355, allocations: 3.938 kB / 0.6202 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.4355, allocations: 12 kB / 0.6202 GB, free: 7.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4355, allocations: 8 kB / 0.6202 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.4373, allocations: 0.5527 MB / 0.6208 GB, free: 7.031 MB / 462.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.002996/0.4403, allocations: 1.907 MB / 0.6226 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.442, allocations: 458.1 kB / 0.6231 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.4425, allocations: 184.7 kB / 0.6232 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0468/0.4893, allocations: 13.2 MB / 0.6361 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.4893, allocations: 38.5 kB / 0.6362 GB, free: 7.141 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.915e-06/0.4893, allocations: 3.938 kB / 0.6362 GB, free: 7.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003169/0.4925, allocations: 0.8248 MB / 0.637 GB, free: 6.305 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.4926, allocations: 110.8 kB / 0.6371 GB, free: 6.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.4929, allocations: 308.5 kB / 0.6374 GB, free: 5.863 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.493, allocations: 29.7 kB / 0.6374 GB, free: 5.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.4932, allocations: 216.4 kB / 0.6376 GB, free: 5.613 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.4933, allocations: 87.23 kB / 0.6377 GB, free: 5.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.4934, allocations: 65.69 kB / 0.6378 GB, free: 5.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4935, allocations: 346.8 kB / 0.6381 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.494, allocations: 151.9 kB / 0.6382 GB, free: 4.961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.4945, allocations: 291.3 kB / 0.6385 GB, free: 4.625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/0.4954, allocations: 378 kB / 0.6389 GB, free: 4.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4954, allocations: 0 / 0.6389 GB, free: 4.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001111/0.4965, allocations: 448.8 kB / 0.6393 GB, free: 3.777 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4966, allocations: 4 kB / 0.6393 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4966, allocations: 7.938 kB / 0.6393 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4966, allocations: 4.312 kB / 0.6393 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.497, allocations: 95.86 kB / 0.6394 GB, free: 3.668 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.497, allocations: 4 kB / 0.6394 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.4973, allocations: 47.81 kB / 0.6395 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.4973, allocations: 16 kB / 0.6395 GB, free: 3.602 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.0002087/0.4975, allocations: 161.6 kB / 0.6396 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.4976, allocations: 39.77 kB / 0.6397 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.5004, allocations: 1.991 MB / 0.6416 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.876e-05/0.5005, allocations: 31.94 kB / 0.6416 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5005, allocations: 7.938 kB / 0.6416 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5005, allocations: 0 / 0.6416 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.5017, allocations: 0.9603 MB / 0.6426 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5017, allocations: 4 kB / 0.6426 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.5021, allocations: 83.86 kB / 0.6427 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5021, allocations: 7.938 kB / 0.6427 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.5021, allocations: 11.94 kB / 0.6427 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5021, allocations: 0 / 0.6427 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5021, allocations: 3.984 kB / 0.6427 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.5039, allocations: 1.132 MB / 0.6438 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.504, allocations: 91.16 kB / 0.6439 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.504, allocations: 31.72 kB / 0.6439 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.5043, allocations: 31.97 kB / 0.6439 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5044, allocations: 31.94 kB / 0.644 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.5045, allocations: 12 kB / 0.644 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.5049, allocations: 327.1 kB / 0.6443 GB, free: 14.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5049, allocations: 4 kB / 0.6443 GB, free: 14.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003233/0.5081, allocations: 1.002 MB / 0.6453 GB, free: 13.57 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.007106/0.5152, allocations: 2.753 MB / 0.648 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.5167, allocations: 0.6065 MB / 0.6486 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5167, allocations: 4.625 kB / 0.6486 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006999/0.5174, allocations: 432.8 kB / 0.649 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.5186, allocations: 222.4 kB / 0.6492 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/0.528, allocations: 5.074 MB / 0.6541 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.5283, allocations: 366.2 kB / 0.6545 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.5289, allocations: 266.8 kB / 0.6548 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.5292, allocations: 267.3 kB / 0.655 GB, free: 3.418 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5292, allocations: 0 / 0.655 GB, free: 3.418 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08973/0.619, allocations: 48.05 MB / 0.7019 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.39, allocations: 9.156 kB / 0.7019 GB, free: 3.641 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.54692639701534] 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'] 15.58238668704871 15.601412659 15.169260348 Calling exit ...