Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001818/0.001818, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.002122/0.002122, allocations: 211.6 kB / 23.48 MB, free: 5.227 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.404/1.404, allocations: 230.2 MB / 256.8 MB, free: 8.578 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2198/0.2198, allocations: 46.89 MB / 360 MB, free: 4.699 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-beta.om/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.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 83.84 kB / 0.4951 GB, free: 8.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.294, allocations: 65.99 MB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03419/0.3282, allocations: 28.66 MB / 0.5875 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.3452, allocations: 13.39 MB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.3455, allocations: 11.94 kB / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000768/0.3463, allocations: 254.4 kB / 0.6008 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009768/0.3561, allocations: 3.665 MB / 0.6044 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006251/0.3623, allocations: 2.383 MB / 0.6067 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.3637, allocations: 0.9041 MB / 0.6076 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.3642, allocations: 212.7 kB / 0.6078 GB, free: 3.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.365, allocations: 454.2 kB / 0.6083 GB, free: 2.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.3654, allocations: 282.9 kB / 0.6085 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.3655, allocations: 36 kB / 0.6086 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.3803, allocations: 7.25 MB / 0.6156 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.3805, allocations: 103.7 kB / 0.6157 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.3809, allocations: 223 kB / 0.616 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.3921, allocations: 4.435 MB / 0.6203 GB, free: 6.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3921, allocations: 0 / 0.6203 GB, free: 6.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3921, allocations: 0 / 0.6203 GB, free: 6.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3921, allocations: 0 / 0.6203 GB, free: 6.535 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.003573/0.3957, allocations: 1.282 MB / 0.6215 GB, free: 5.199 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3957, allocations: 12.03 kB / 0.6216 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.3958, allocations: 66.72 kB / 0.6216 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.3975, allocations: 212.5 kB / 0.6218 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.3981, allocations: 379.5 kB / 0.6222 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.3982, allocations: 25.03 kB / 0.6222 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.3982, allocations: 36.11 kB / 0.6222 GB, free: 4.438 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3998, allocations: 0.5823 MB / 0.6228 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3998, allocations: 7.938 kB / 0.6228 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.3999, allocations: 16 kB / 0.6228 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3999, allocations: 8 kB / 0.6228 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.4015, allocations: 0.5445 MB / 0.6234 GB, free: 3.238 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.00332/0.4049, allocations: 2.641 MB / 0.6259 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.4065, allocations: 442.2 kB / 0.6264 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.407, allocations: 184.7 kB / 0.6265 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05103/0.458, allocations: 26.88 MB / 0.6528 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.4581, allocations: 42.48 kB / 0.6528 GB, free: 1.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.4581, allocations: 0 / 0.6528 GB, free: 1.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.002983/0.4611, allocations: 0.8248 MB / 0.6536 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.4611, allocations: 106.8 kB / 0.6537 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.4615, allocations: 308.5 kB / 0.654 GB, free: 124 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.4615, allocations: 29.7 kB / 0.6541 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4617, allocations: 212.5 kB / 0.6543 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.4618, allocations: 91.22 kB / 0.6544 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.4619, allocations: 69.69 kB / 0.6544 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4621, allocations: 346.8 kB / 0.6548 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.4625, allocations: 143.9 kB / 0.6549 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.463, allocations: 247.7 kB / 0.6551 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.4639, allocations: 381.9 kB / 0.6555 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4639, allocations: 0 / 0.6555 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001082/0.465, allocations: 449 kB / 0.6559 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.465, allocations: 8 kB / 0.6559 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.465, allocations: 0 / 0.6559 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.4651, allocations: 7.938 kB / 0.6559 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.4654, allocations: 91.86 kB / 0.656 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4654, allocations: 4 kB / 0.656 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.4657, allocations: 55.88 kB / 0.6561 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.4658, allocations: 16 kB / 0.6561 GB, free: 13.91 MB / 0.4981 GB 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.0002041/0.466, allocations: 161.7 kB / 0.6562 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.4661, allocations: 35.77 kB / 0.6563 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.4687, allocations: 1.919 MB / 0.6582 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/0.4687, allocations: 31.94 kB / 0.6582 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4687, allocations: 4 kB / 0.6582 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4687, allocations: 0 / 0.6582 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.4699, allocations: 1.012 MB / 0.6592 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4699, allocations: 0 / 0.6592 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.4702, allocations: 79.86 kB / 0.6593 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4702, allocations: 4 kB / 0.6593 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.4702, allocations: 7.938 kB / 0.6593 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.4702, allocations: 8 kB / 0.6593 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4702, allocations: 7.984 kB / 0.6593 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4718, allocations: 1.1 MB / 0.6604 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.472, allocations: 172.2 kB / 0.6605 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.4721, allocations: 31.72 kB / 0.6605 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.4723, allocations: 27.97 kB / 0.6606 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4724, allocations: 31.89 kB / 0.6606 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.4725, allocations: 12 kB / 0.6606 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003924/0.4728, allocations: 331.1 kB / 0.6609 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4728, allocations: 0 / 0.6609 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003135/0.476, allocations: 1.01 MB / 0.6619 GB, free: 7.836 MB / 0.4981 GB 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.006754/0.4827, allocations: 2.729 MB / 0.6646 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.4841, allocations: 0.595 MB / 0.6652 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4841, allocations: 0 / 0.6652 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.4848, allocations: 413 kB / 0.6656 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4859, allocations: 216.4 kB / 0.6658 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009133/0.495, allocations: 5.056 MB / 0.6707 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.4957, allocations: 0.9599 MB / 0.6716 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005975/0.4963, allocations: 274 kB / 0.6719 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.4967, allocations: 263.3 kB / 0.6722 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.4967, allocations: 0 / 0.6722 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09056/0.5872, allocations: 46.98 MB / 0.718 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.79, allocations: 3.938 kB / 0.718 GB, free: 14.27 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.529338931897655] 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'] 11.89073992986232 11.906054606 11.510728765 Calling exit ...