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.001278/0.001278, 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.001418/0.001418, allocations: 212.6 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.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2262/0.2262, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.00236/0.00236, allocations: 79.88 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3443, allocations: 66.09 MB / 0.5615 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03465/0.379, allocations: 28.67 MB / 0.5895 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3963, allocations: 13.38 MB / 0.6026 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.3966, allocations: 15.81 kB / 0.6026 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.3974, allocations: 258.4 kB / 0.6028 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009407/0.4068, allocations: 3.673 MB / 0.6064 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006064/0.4129, allocations: 2.41 MB / 0.6088 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.4141, allocations: 0.9041 MB / 0.6097 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.4145, allocations: 220.9 kB / 0.6099 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007675/0.4152, allocations: 462.2 kB / 0.6103 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.4156, allocations: 278.9 kB / 0.6106 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.4157, allocations: 32 kB / 0.6106 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.4298, allocations: 7.262 MB / 0.6177 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.43, allocations: 103.7 kB / 0.6178 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.4304, allocations: 226.9 kB / 0.618 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.4415, allocations: 4.427 MB / 0.6223 GB, free: 5.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.4415, allocations: 4 kB / 0.6223 GB, free: 5.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4415, allocations: 0 / 0.6223 GB, free: 5.715 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4415, allocations: 0 / 0.6223 GB, free: 5.715 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.003511/0.445, allocations: 1.211 MB / 0.6235 GB, free: 4.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4451, allocations: 12.03 kB / 0.6235 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.324e-05/0.4452, allocations: 66.72 kB / 0.6236 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.4469, allocations: 212.5 kB / 0.6238 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.4476, allocations: 317.2 kB / 0.6241 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.4476, allocations: 29.03 kB / 0.6241 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.4477, allocations: 28.12 kB / 0.6242 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.4493, allocations: 0.5903 MB / 0.6247 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4493, allocations: 3.938 kB / 0.6247 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.4493, allocations: 15.94 kB / 0.6248 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.4493, allocations: 8 kB / 0.6248 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.451, allocations: 0.541 MB / 0.6253 GB, free: 2.582 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.003214/0.4542, allocations: 2.527 MB / 0.6278 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.4558, allocations: 454.1 kB / 0.6282 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.4563, allocations: 189.5 kB / 0.6284 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04343/0.4997, allocations: 13.15 MB / 0.6412 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.4997, allocations: 46.5 kB / 0.6413 GB, free: 1.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.4997, allocations: 0 / 0.6413 GB, free: 1.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.002998/0.5027, allocations: 0.8169 MB / 0.6421 GB, free: 1.156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.5028, allocations: 106.8 kB / 0.6422 GB, free: 1.027 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.5032, allocations: 316.5 kB / 0.6425 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.5032, allocations: 33.7 kB / 0.6425 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.5034, allocations: 208.5 kB / 0.6427 GB, free: 480 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.5034, allocations: 95.2 kB / 0.6428 GB, free: 384 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.5036, allocations: 69.69 kB / 0.6428 GB, free: 308 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5037, allocations: 334.8 kB / 0.6432 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.5041, allocations: 151.9 kB / 0.6433 GB, free: 15.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.5047, allocations: 247.7 kB / 0.6435 GB, free: 15.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/0.5056, allocations: 373.1 kB / 0.6439 GB, free: 15.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5056, allocations: 0 / 0.6439 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001059/0.5066, allocations: 449.8 kB / 0.6443 GB, free: 14.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5066, allocations: 7.984 kB / 0.6443 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5066, allocations: 4 kB / 0.6443 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5067, allocations: 11.88 kB / 0.6444 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.507, allocations: 88.19 kB / 0.6444 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.507, allocations: 4 kB / 0.6444 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.5073, allocations: 47.81 kB / 0.6445 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.5073, allocations: 15.98 kB / 0.6445 GB, free: 14.52 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.0001809/0.5075, allocations: 157.9 kB / 0.6447 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.5076, allocations: 39.77 kB / 0.6447 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.5103, allocations: 1.999 MB / 0.6466 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/0.5103, allocations: 27.95 kB / 0.6467 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5103, allocations: 0 / 0.6467 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5103, allocations: 0 / 0.6467 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.5114, allocations: 1.019 MB / 0.6477 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5114, allocations: 0 / 0.6477 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.5117, allocations: 79.81 kB / 0.6477 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5118, allocations: 8 kB / 0.6477 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.5118, allocations: 15.92 kB / 0.6478 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.5118, allocations: 7.984 kB / 0.6478 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5118, allocations: 0 / 0.6478 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.5135, allocations: 1.124 MB / 0.6489 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.5136, allocations: 95.16 kB / 0.649 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.5136, allocations: 31.72 kB / 0.649 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.5139, allocations: 23.97 kB / 0.649 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.514, allocations: 35.88 kB / 0.649 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.514, allocations: 16 kB / 0.6491 GB, free: 9.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003778/0.5144, allocations: 331.1 kB / 0.6494 GB, free: 9.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5144, allocations: 0 / 0.6494 GB, free: 9.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002579/0.517, allocations: 1.014 MB / 0.6504 GB, free: 8.414 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.005818/0.5228, allocations: 2.733 MB / 0.653 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.5241, allocations: 0.6144 MB / 0.6536 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5241, allocations: 0 / 0.6536 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.5248, allocations: 425 kB / 0.654 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5259, allocations: 221 kB / 0.6542 GB, free: 4.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008277/0.5341, allocations: 5.066 MB / 0.6592 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.5347, allocations: 0.9638 MB / 0.6601 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005027/0.5352, allocations: 285 kB / 0.6604 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.5356, allocations: 259.3 kB / 0.6607 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5356, allocations: 0 / 0.6607 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09186/0.6274, allocations: 47.67 MB / 0.7072 GB, free: 14.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.02, allocations: 21.36 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 & /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.851263794116676] 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.131739920005202 12.163474172 11.716097384 Calling exit ...