Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001827/0.001827, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.002172/0.002172, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 207.6 MB / 231.2 MB, free: 4.109 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3151/0.3151, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003464/0.003464, allocations: 67.91 kB / 462.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.302, allocations: 61.01 MB / 0.5116 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02716/0.3292, allocations: 28.31 MB / 0.5393 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3467, allocations: 13.33 MB / 0.5523 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.347, allocations: 23.81 kB / 0.5523 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.3477, allocations: 262.3 kB / 0.5526 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009319/0.3571, allocations: 3.652 MB / 0.5561 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006123/0.3632, allocations: 2.381 MB / 0.5585 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.3644, allocations: 0.9 MB / 0.5593 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.3648, allocations: 220.7 kB / 0.5596 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000774/0.3656, allocations: 458.2 kB / 0.56 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.366, allocations: 274.9 kB / 0.5602 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.366, allocations: 36 kB / 0.5603 GB, free: 13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/0.3798, allocations: 7.238 MB / 0.5674 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.38, allocations: 99.66 kB / 0.5674 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.3803, allocations: 226.9 kB / 0.5677 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3905, allocations: 4.412 MB / 0.572 GB, free: 1.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3905, allocations: 4 kB / 0.572 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3905, allocations: 4 kB / 0.572 GB, free: 1.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3905, allocations: 0 / 0.572 GB, free: 1.008 MB / 430.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.003365/0.3938, allocations: 1.275 MB / 0.5732 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3939, allocations: 15.89 kB / 0.5732 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.6e-05/0.3939, allocations: 8.844 kB / 0.5732 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.899e-05/0.394, allocations: 66.72 kB / 0.5733 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.3958, allocations: 216.5 kB / 0.5735 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.3965, allocations: 383.5 kB / 0.5739 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.3965, allocations: 29.03 kB / 0.5739 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.3965, allocations: 27.94 kB / 0.5739 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3982, allocations: 0.5862 MB / 0.5745 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3982, allocations: 3.938 kB / 0.5745 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.3982, allocations: 16 kB / 0.5745 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3982, allocations: 11.94 kB / 0.5745 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.4, allocations: 0.5445 MB / 0.5751 GB, free: 13.7 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.003246/0.4032, allocations: 2.625 MB / 0.5776 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.405, allocations: 454.1 kB / 0.5781 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.4055, allocations: 189.2 kB / 0.5783 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05431/0.4598, allocations: 24.31 MB / 0.602 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.4599, allocations: 30.56 kB / 0.602 GB, free: 14.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.534e-06/0.4599, allocations: 4 kB / 0.602 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003218/0.4631, allocations: 0.8232 MB / 0.6028 GB, free: 14.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.4632, allocations: 106.8 kB / 0.6029 GB, free: 13.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.4636, allocations: 312.5 kB / 0.6032 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4636, allocations: 25.7 kB / 0.6033 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.4638, allocations: 208.5 kB / 0.6034 GB, free: 13.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.4639, allocations: 91.2 kB / 0.6035 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.464, allocations: 65.69 kB / 0.6036 GB, free: 13.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4642, allocations: 342.8 kB / 0.6039 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.4646, allocations: 147.9 kB / 0.6041 GB, free: 12.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.4652, allocations: 254.8 kB / 0.6043 GB, free: 12.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/0.4662, allocations: 373.9 kB / 0.6047 GB, free: 12.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4662, allocations: 0 / 0.6047 GB, free: 12.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001192/0.4674, allocations: 452.9 kB / 0.6051 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4674, allocations: 4 kB / 0.6051 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4674, allocations: 8.25 kB / 0.6051 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4674, allocations: 8 kB / 0.6051 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.4678, allocations: 83.88 kB / 0.6052 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4678, allocations: 4 kB / 0.6052 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.4681, allocations: 51.69 kB / 0.6053 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.4682, allocations: 23.92 kB / 0.6053 GB, free: 11.48 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.0002085/0.4684, allocations: 157.8 kB / 0.6054 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.4685, allocations: 39.77 kB / 0.6055 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.4713, allocations: 1.913 MB / 0.6073 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/0.4713, allocations: 27.95 kB / 0.6074 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4713, allocations: 4 kB / 0.6074 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4714, allocations: 7.922 kB / 0.6074 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4725, allocations: 1.012 MB / 0.6084 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4725, allocations: 0 / 0.6084 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.4729, allocations: 83.86 kB / 0.6084 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4729, allocations: 4 kB / 0.6084 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.4729, allocations: 11.94 kB / 0.6085 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4729, allocations: 0 / 0.6085 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4729, allocations: 3.984 kB / 0.6085 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.4747, allocations: 1.108 MB / 0.6095 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4748, allocations: 168.2 kB / 0.6097 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.4749, allocations: 31.72 kB / 0.6097 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.4752, allocations: 31.97 kB / 0.6098 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4753, allocations: 31.95 kB / 0.6098 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.4753, allocations: 15.98 kB / 0.6098 GB, free: 6.723 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003952/0.4757, allocations: 323.1 kB / 0.6101 GB, free: 6.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4757, allocations: 0 / 0.6101 GB, free: 6.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002707/0.4784, allocations: 0.9982 MB / 0.6111 GB, free: 5.406 MB / 478.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.006659/0.4851, allocations: 2.744 MB / 0.6138 GB, free: 2.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.4865, allocations: 0.6027 MB / 0.6144 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4865, allocations: 0 / 0.6144 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.4873, allocations: 414.5 kB / 0.6148 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4885, allocations: 216.8 kB / 0.615 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/0.4972, allocations: 5.036 MB / 0.6199 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.4978, allocations: 0.9638 MB / 0.6208 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000478/0.4983, allocations: 278.8 kB / 0.6211 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.4986, allocations: 255.3 kB / 0.6213 GB, free: 10.72 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4986, allocations: 0 / 0.6213 GB, free: 10.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3354/0.834, allocations: 46.8 MB / 0.667 GB, free: 105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.97, allocations: 12.09 kB / 0.667 GB, free: 105 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.912876498012338] 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'] 13.129227967001498 13.143352465 12.749281006 Calling exit ...