Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001218/0.001218, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001317/0.001317, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.94 MB / 359.6 MB, free: 6.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002724/0.002724, allocations: 67.91 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3656, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03358/0.3992, allocations: 25.89 MB / 0.583 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.4169, allocations: 11.77 MB / 0.5945 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.4175, allocations: 11.88 kB / 0.5945 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.4185, allocations: 234.4 kB / 0.5947 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.4301, allocations: 3.647 MB / 0.5983 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007173/0.4373, allocations: 2.356 MB / 0.6006 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4387, allocations: 0.9158 MB / 0.6015 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.4391, allocations: 212.8 kB / 0.6017 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.4399, allocations: 442.2 kB / 0.6021 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.4403, allocations: 286.8 kB / 0.6024 GB, free: 9.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.4404, allocations: 32 kB / 0.6024 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01441/0.4548, allocations: 7.192 MB / 0.6094 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.455, allocations: 103.7 kB / 0.6095 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.4553, allocations: 187.2 kB / 0.6097 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.466, allocations: 4.431 MB / 0.614 GB, free: 13.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.466, allocations: 0 / 0.614 GB, free: 13.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.466, allocations: 0 / 0.614 GB, free: 13.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.466, allocations: 0 / 0.614 GB, free: 13.69 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.003323/0.4693, allocations: 1.199 MB / 0.6152 GB, free: 12.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4694, allocations: 12.02 kB / 0.6152 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.426e-05/0.4694, allocations: 16.84 kB / 0.6152 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.791e-05/0.4695, allocations: 58.73 kB / 0.6153 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.4712, allocations: 212.5 kB / 0.6155 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.4719, allocations: 321.2 kB / 0.6158 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.4719, allocations: 25.03 kB / 0.6158 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.472, allocations: 35.88 kB / 0.6159 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.4737, allocations: 0.7408 MB / 0.6166 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4737, allocations: 3.938 kB / 0.6166 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.4738, allocations: 12 kB / 0.6166 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4738, allocations: 8 kB / 0.6166 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.4756, allocations: 0.5449 MB / 0.6171 GB, free: 10.36 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.00302/0.4786, allocations: 1.91 MB / 0.619 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.4803, allocations: 454.1 kB / 0.6194 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.4808, allocations: 188.7 kB / 0.6196 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04684/0.5276, allocations: 13.2 MB / 0.6325 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.5277, allocations: 46.5 kB / 0.6326 GB, free: 10.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.5277, allocations: 0 / 0.6326 GB, free: 10.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003174/0.5308, allocations: 0.8209 MB / 0.6334 GB, free: 9.633 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.5309, allocations: 106.8 kB / 0.6335 GB, free: 9.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.5313, allocations: 308.5 kB / 0.6338 GB, free: 9.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.5314, allocations: 33.7 kB / 0.6338 GB, free: 9.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.5316, allocations: 208.5 kB / 0.634 GB, free: 8.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.5317, allocations: 91.2 kB / 0.6341 GB, free: 8.859 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.5318, allocations: 73.62 kB / 0.6341 GB, free: 8.781 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5321, allocations: 338.8 kB / 0.6345 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.5325, allocations: 151.8 kB / 0.6346 GB, free: 8.293 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.5331, allocations: 299.2 kB / 0.6349 GB, free: 7.949 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.534, allocations: 374 kB / 0.6353 GB, free: 7.551 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.534, allocations: 4 kB / 0.6353 GB, free: 7.547 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001186/0.5352, allocations: 452.9 kB / 0.6357 GB, free: 7.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5352, allocations: 4 kB / 0.6357 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5352, allocations: 7.938 kB / 0.6357 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.5353, allocations: 4 kB / 0.6357 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.5356, allocations: 83.88 kB / 0.6358 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.5356, allocations: 4 kB / 0.6358 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.536, allocations: 52.09 kB / 0.6358 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.536, allocations: 19.98 kB / 0.6359 GB, free: 6.926 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.0002247/0.5362, allocations: 157.7 kB / 0.636 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5363, allocations: 43.77 kB / 0.636 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.5393, allocations: 1.984 MB / 0.638 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.5393, allocations: 27.95 kB / 0.638 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5393, allocations: 0 / 0.638 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.5393, allocations: 7.984 kB / 0.638 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5405, allocations: 0.9642 MB / 0.639 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5405, allocations: 0 / 0.639 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.5409, allocations: 75.88 kB / 0.639 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.5409, allocations: 7.984 kB / 0.639 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.5409, allocations: 7.938 kB / 0.639 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.5409, allocations: 8 kB / 0.6391 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5409, allocations: 0 / 0.6391 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.5426, allocations: 1.132 MB / 0.6402 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5428, allocations: 95.09 kB / 0.6403 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.5428, allocations: 31.72 kB / 0.6403 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.5431, allocations: 35.91 kB / 0.6403 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5433, allocations: 31.94 kB / 0.6403 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.5433, allocations: 19.98 kB / 0.6404 GB, free: 2.219 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.5437, allocations: 323.1 kB / 0.6407 GB, free: 1.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5437, allocations: 0 / 0.6407 GB, free: 1.906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00309/0.5468, allocations: 1.006 MB / 0.6417 GB, free: 0.8984 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.007626/0.5544, allocations: 2.752 MB / 0.6443 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.5559, allocations: 0.6109 MB / 0.6449 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5559, allocations: 3.984 kB / 0.6449 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.5566, allocations: 428.9 kB / 0.6454 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.5578, allocations: 220.5 kB / 0.6456 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/0.567, allocations: 5.066 MB / 0.6505 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.5674, allocations: 370.2 kB / 0.6509 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005376/0.568, allocations: 278.8 kB / 0.6511 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.5683, allocations: 255.4 kB / 0.6514 GB, free: 6.75 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5683, allocations: 4 kB / 0.6514 GB, free: 6.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09267/0.661, allocations: 48.05 MB / 0.6983 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.67, allocations: 6.859 kB / 0.6983 GB, free: 6.969 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.772851283079945] 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.867298054043204 15.896251603 15.424427485 Calling exit ...