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.002088/0.002088, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002671/0.002671, allocations: 215 kB / 21.45 MB, free: 1.641 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.548/1.548, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.2233/0.2233, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.00212/0.00212, allocations: 67.91 kB / 0.4885 GB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 65.43 MB / 0.5524 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03727/0.1583, allocations: 28.44 MB / 0.5802 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.1772, allocations: 13.35 MB / 0.5932 GB, free: 224 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.1778, allocations: 15.88 kB / 0.5933 GB, free: 208 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2395/0.4172, allocations: 241.3 kB / 0.5935 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.4263, allocations: 3.672 MB / 0.5971 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005748/0.4321, allocations: 2.374 MB / 0.5994 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.4333, allocations: 0.902 MB / 0.6003 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004104/0.4337, allocations: 218 kB / 0.6005 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008118/0.4345, allocations: 456.1 kB / 0.6009 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.4349, allocations: 283.9 kB / 0.6012 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.435, allocations: 33 kB / 0.6012 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01643/0.4514, allocations: 7.256 MB / 0.6083 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.4516, allocations: 105.4 kB / 0.6084 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.4521, allocations: 226.7 kB / 0.6086 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.4629, allocations: 4.432 MB / 0.613 GB, free: 3.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4629, allocations: 4 kB / 0.613 GB, free: 3.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4629, allocations: 3.984 kB / 0.613 GB, free: 3.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.4629, allocations: 0 / 0.613 GB, free: 3.75 MB / 446.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.004033/0.4669, allocations: 1.279 MB / 0.6142 GB, free: 2.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4669, allocations: 8.844 kB / 0.6142 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.899e-05/0.467, allocations: 12.72 kB / 0.6142 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.858e-05/0.467, allocations: 70.88 kB / 0.6143 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.4687, allocations: 209.4 kB / 0.6145 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.4692, allocations: 385.7 kB / 0.6149 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.4692, allocations: 25.56 kB / 0.6149 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.4693, allocations: 34.88 kB / 0.6149 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.4708, allocations: 0.5834 MB / 0.6155 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4708, allocations: 1.125 kB / 0.6155 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.4708, allocations: 15.78 kB / 0.6155 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4709, allocations: 8 kB / 0.6155 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.4725, allocations: 0.5465 MB / 0.6161 GB, free: 2.078 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.002764/0.4753, allocations: 2.635 MB / 0.6186 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.477, allocations: 448 kB / 0.6191 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.4774, allocations: 190.2 kB / 0.6192 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05619/0.5336, allocations: 26.88 MB / 0.6455 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.5337, allocations: 34.56 kB / 0.6455 GB, free: 8.203 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.5337, allocations: 0 / 0.6455 GB, free: 8.203 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003149/0.5368, allocations: 0.8245 MB / 0.6463 GB, free: 7.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.5369, allocations: 114.7 kB / 0.6464 GB, free: 7.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.5373, allocations: 308.6 kB / 0.6467 GB, free: 6.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.5373, allocations: 29.7 kB / 0.6468 GB, free: 6.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5375, allocations: 212.5 kB / 0.647 GB, free: 6.688 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.5376, allocations: 87.14 kB / 0.647 GB, free: 6.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5377, allocations: 74.8 kB / 0.6471 GB, free: 6.527 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5379, allocations: 342.8 kB / 0.6474 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.5383, allocations: 149.4 kB / 0.6476 GB, free: 6.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.5389, allocations: 246.8 kB / 0.6478 GB, free: 5.758 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000988/0.5399, allocations: 385 kB / 0.6482 GB, free: 5.359 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5399, allocations: 0 / 0.6482 GB, free: 5.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001153/0.541, allocations: 444.3 kB / 0.6486 GB, free: 4.934 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5411, allocations: 8 kB / 0.6486 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5411, allocations: 4 kB / 0.6486 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.5411, allocations: 4 kB / 0.6486 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.5415, allocations: 89.73 kB / 0.6487 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.5415, allocations: 9.375 kB / 0.6487 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.5418, allocations: 47.75 kB / 0.6488 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.5418, allocations: 20.03 kB / 0.6488 GB, free: 4.762 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.0002003/0.542, allocations: 159.6 kB / 0.6489 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.5421, allocations: 35.77 kB / 0.649 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.5449, allocations: 1.916 MB / 0.6508 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-05/0.5449, allocations: 31.94 kB / 0.6509 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5449, allocations: 7.031 kB / 0.6509 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5449, allocations: 6.531 kB / 0.6509 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.5461, allocations: 1.014 MB / 0.6519 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5461, allocations: 0 / 0.6519 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.5464, allocations: 75.92 kB / 0.6519 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5464, allocations: 4 kB / 0.6519 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.5465, allocations: 10.91 kB / 0.652 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5465, allocations: 0 / 0.652 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5465, allocations: 3.938 kB / 0.652 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.5482, allocations: 1.104 MB / 0.653 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.5483, allocations: 172.3 kB / 0.6532 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.5484, allocations: 28.64 kB / 0.6532 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.5487, allocations: 30.31 kB / 0.6533 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.5488, allocations: 35.89 kB / 0.6533 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.5488, allocations: 12 kB / 0.6533 GB, free: 52 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004154/0.5492, allocations: 330.2 kB / 0.6536 GB, free: 15.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5492, allocations: 0 / 0.6536 GB, free: 15.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003983/0.5532, allocations: 1.006 MB / 0.6546 GB, free: 14.72 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.008165/0.5614, allocations: 2.728 MB / 0.6573 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.5628, allocations: 0.5956 MB / 0.6578 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5628, allocations: 4 kB / 0.6579 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.5635, allocations: 413.7 kB / 0.6582 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5648, allocations: 217.4 kB / 0.6585 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.5749, allocations: 5.047 MB / 0.6634 GB, free: 5.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.5755, allocations: 0.9638 MB / 0.6643 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005561/0.5761, allocations: 277.4 kB / 0.6646 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.5764, allocations: 266.1 kB / 0.6648 GB, free: 4.199 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5764, allocations: 0 / 0.6648 GB, free: 4.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08625/0.6627, allocations: 46.88 MB / 0.7106 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.67, allocations: 4 kB / 0.7106 GB, free: 5.523 MB / 0.5294 GB " [Timeout remaining time 647] (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: 15.969858243013732] 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.84311096201418 12.867247628 12.39994038 Calling exit ...