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.001792/0.001792, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002083/0.002083, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.412/1.412, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2172/0.2172, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.002335/0.002335, allocations: 76.2 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3283, allocations: 66.09 MB / 0.5615 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03332/0.3616, allocations: 28.67 MB / 0.5895 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01826/0.3799, allocations: 13.39 MB / 0.6026 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.3804, allocations: 19.81 kB / 0.6026 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.3813, allocations: 254.4 kB / 0.6028 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00978/0.391, allocations: 3.669 MB / 0.6064 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006175/0.3972, allocations: 2.397 MB / 0.6088 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.3986, allocations: 0.9158 MB / 0.6097 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.399, allocations: 212.9 kB / 0.6099 GB, free: 2.527 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.3998, allocations: 458.2 kB / 0.6103 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.4002, allocations: 286.8 kB / 0.6106 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.4003, allocations: 32 kB / 0.6106 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01393/0.4142, allocations: 7.258 MB / 0.6177 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.4144, allocations: 103.7 kB / 0.6178 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.4147, allocations: 223 kB / 0.618 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.425, allocations: 4.435 MB / 0.6223 GB, free: 5.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.425, allocations: 4 kB / 0.6223 GB, free: 5.727 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.425, allocations: 4 kB / 0.6223 GB, free: 5.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.425, allocations: 0 / 0.6223 GB, free: 5.723 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.003519/0.4285, allocations: 1.207 MB / 0.6235 GB, free: 4.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4286, allocations: 12.03 kB / 0.6235 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.059e-05/0.4287, allocations: 62.72 kB / 0.6236 GB, free: 4.398 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.4304, allocations: 216.5 kB / 0.6238 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/0.4311, allocations: 313.2 kB / 0.6241 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.4311, allocations: 33.03 kB / 0.6241 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.4312, allocations: 28.12 kB / 0.6242 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.4328, allocations: 0.5941 MB / 0.6247 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4328, allocations: 0 / 0.6247 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.4329, allocations: 12 kB / 0.6247 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4329, allocations: 8 kB / 0.6248 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.4345, allocations: 0.5526 MB / 0.6253 GB, free: 2.586 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.003223/0.4377, allocations: 2.527 MB / 0.6278 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.4393, allocations: 446.2 kB / 0.6282 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.4398, allocations: 193.6 kB / 0.6284 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04458/0.4843, allocations: 13.14 MB / 0.6412 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.4844, allocations: 38.56 kB / 0.6412 GB, free: 2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.4844, allocations: 0 / 0.6412 GB, free: 2 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.00295/0.4873, allocations: 0.8208 MB / 0.642 GB, free: 1.172 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.4874, allocations: 106.8 kB / 0.6422 GB, free: 1.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.4878, allocations: 320.4 kB / 0.6425 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.4878, allocations: 29.7 kB / 0.6425 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.488, allocations: 204.5 kB / 0.6427 GB, free: 500 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.4881, allocations: 95.2 kB / 0.6428 GB, free: 404 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4882, allocations: 69.69 kB / 0.6428 GB, free: 328 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4884, allocations: 342.8 kB / 0.6432 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.4888, allocations: 151.9 kB / 0.6433 GB, free: 15.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.4893, allocations: 239.8 kB / 0.6435 GB, free: 15.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.4902, allocations: 381 kB / 0.6439 GB, free: 15.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4902, allocations: 0 / 0.6439 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001066/0.4913, allocations: 449.8 kB / 0.6443 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4913, allocations: 4 kB / 0.6443 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.4913, allocations: 4.312 kB / 0.6443 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.4913, allocations: 15.92 kB / 0.6444 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.4917, allocations: 87.88 kB / 0.6444 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4917, allocations: 4 kB / 0.6444 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.492, allocations: 51.73 kB / 0.6445 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.492, allocations: 12 kB / 0.6445 GB, free: 14.53 MB / 494.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.0001925/0.4922, allocations: 169.9 kB / 0.6447 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.4923, allocations: 35.77 kB / 0.6447 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.495, allocations: 1.995 MB / 0.6466 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/0.4951, allocations: 27.95 kB / 0.6467 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4951, allocations: 0 / 0.6467 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4951, allocations: 3.984 kB / 0.6467 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.4963, allocations: 1.019 MB / 0.6477 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4963, allocations: 0 / 0.6477 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.4966, allocations: 79.86 kB / 0.6477 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4966, allocations: 4 kB / 0.6478 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.4967, allocations: 7.938 kB / 0.6478 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4967, allocations: 4 kB / 0.6478 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4967, allocations: 0 / 0.6478 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4984, allocations: 1.128 MB / 0.6489 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4985, allocations: 91.17 kB / 0.6489 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.4986, allocations: 35.72 kB / 0.649 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.4988, allocations: 27.97 kB / 0.649 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.499, allocations: 35.94 kB / 0.649 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.499, allocations: 11.98 kB / 0.6491 GB, free: 9.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.4994, allocations: 327.1 kB / 0.6494 GB, free: 9.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4994, allocations: 0 / 0.6494 GB, free: 9.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003148/0.5025, allocations: 1.01 MB / 0.6504 GB, free: 8.438 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.006481/0.509, allocations: 2.744 MB / 0.653 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.5104, allocations: 0.6178 MB / 0.6536 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5104, allocations: 0 / 0.6536 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006871/0.5111, allocations: 429.6 kB / 0.654 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5122, allocations: 217.5 kB / 0.6543 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/0.5214, allocations: 5.066 MB / 0.6592 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.522, allocations: 0.9677 MB / 0.6601 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004914/0.5225, allocations: 269.8 kB / 0.6604 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.5228, allocations: 267.3 kB / 0.6607 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5228, allocations: 0 / 0.6607 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08751/0.6103, allocations: 47.68 MB / 0.7072 GB, free: 14.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.01, allocations: 15.77 kB / 0.7072 GB, free: 14.07 MB / 0.545 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 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.882572225295007] 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.114350430201739 12.142566004 11.712034886 Calling exit ...