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.001294/0.001294, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.001461/0.001461, allocations: 221.9 kB / 23.78 MB, free: 4.141 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.48/1.48, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.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.2341/0.2341, allocations: 44.26 MB / 331.1 MB, free: 9.406 MB / 270.1 MB " [Timeout remaining time 179] 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.002336/0.002336, allocations: 74.22 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1469, allocations: 61.05 MB / 0.5169 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2798/0.4267, allocations: 25.75 MB / 0.5421 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.441, allocations: 11.76 MB / 0.5535 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.4414, allocations: 18.03 kB / 0.5536 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006055/0.442, allocations: 223.8 kB / 0.5538 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.4526, allocations: 3.642 MB / 0.5573 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006698/0.4593, allocations: 2.352 MB / 0.5596 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.4607, allocations: 0.9059 MB / 0.5605 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.4611, allocations: 211.8 kB / 0.5607 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008544/0.462, allocations: 442.4 kB / 0.5611 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.4624, allocations: 275.7 kB / 0.5614 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.4624, allocations: 36.69 kB / 0.5614 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.015/0.4774, allocations: 7.188 MB / 0.5685 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.4777, allocations: 105.2 kB / 0.5686 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.4781, allocations: 188.5 kB / 0.5687 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.4899, allocations: 4.412 MB / 0.573 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4899, allocations: 1.281 kB / 0.573 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4899, allocations: 0 / 0.573 GB, free: 1.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4899, allocations: 0 / 0.573 GB, free: 1.289 MB / 414.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.004165/0.4941, allocations: 1.191 MB / 0.5742 GB, free: 460 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4942, allocations: 13.09 kB / 0.5742 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.487e-05/0.4942, allocations: 8.781 kB / 0.5742 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.4943, allocations: 72.66 kB / 0.5743 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.496, allocations: 211 kB / 0.5745 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.4966, allocations: 323.1 kB / 0.5748 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.4967, allocations: 27.38 kB / 0.5748 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.4968, allocations: 30.58 kB / 0.5749 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.4986, allocations: 0.7418 MB / 0.5756 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4986, allocations: 0 / 0.5756 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.4986, allocations: 18.88 kB / 0.5756 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4986, allocations: 7.75 kB / 0.5756 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.5004, allocations: 0.5469 MB / 0.5762 GB, free: 15.14 MB / 430.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.003164/0.5036, allocations: 1.905 MB / 0.578 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.5053, allocations: 450.8 kB / 0.5784 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.5058, allocations: 191.7 kB / 0.5786 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04517/0.551, allocations: 12.72 MB / 0.591 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.551, allocations: 30.56 kB / 0.5911 GB, free: 6.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/0.551, allocations: 0 / 0.5911 GB, free: 6.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003199/0.5542, allocations: 0.826 MB / 0.5919 GB, free: 5.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.5543, allocations: 110.8 kB / 0.592 GB, free: 5.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.5548, allocations: 308.5 kB / 0.5923 GB, free: 5.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.5548, allocations: 29.7 kB / 0.5923 GB, free: 5.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.555, allocations: 216.5 kB / 0.5925 GB, free: 5.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5551, allocations: 87.16 kB / 0.5926 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.5553, allocations: 69.64 kB / 0.5927 GB, free: 4.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.5555, allocations: 346.8 kB / 0.593 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.5559, allocations: 143.9 kB / 0.5931 GB, free: 4.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.5565, allocations: 300.4 kB / 0.5934 GB, free: 4.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.5574, allocations: 377 kB / 0.5938 GB, free: 3.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5574, allocations: 0 / 0.5938 GB, free: 3.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001166/0.5586, allocations: 446.1 kB / 0.5942 GB, free: 3.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.5586, allocations: 4 kB / 0.5942 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5586, allocations: 4 kB / 0.5942 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.5587, allocations: 7.938 kB / 0.5942 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.559, allocations: 91.8 kB / 0.5943 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.5591, allocations: 7.984 kB / 0.5943 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.5594, allocations: 55.8 kB / 0.5944 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.5595, allocations: 16 kB / 0.5944 GB, free: 3.07 MB / 430.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.0002633/0.5597, allocations: 161.8 kB / 0.5945 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.5598, allocations: 31.81 kB / 0.5946 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.5627, allocations: 1.993 MB / 0.5965 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.59e-05/0.5628, allocations: 31.94 kB / 0.5965 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5628, allocations: 0 / 0.5965 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5628, allocations: 0 / 0.5965 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.5641, allocations: 0.9682 MB / 0.5975 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5641, allocations: 0 / 0.5975 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.5645, allocations: 72.8 kB / 0.5976 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.5645, allocations: 6.156 kB / 0.5976 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.5645, allocations: 11.88 kB / 0.5976 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.5645, allocations: 4 kB / 0.5976 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.5645, allocations: 7.922 kB / 0.5976 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.5664, allocations: 1.128 MB / 0.5987 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.5666, allocations: 91.11 kB / 0.5988 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.5667, allocations: 39.2 kB / 0.5988 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.567, allocations: 31.97 kB / 0.5988 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.5671, allocations: 35.94 kB / 0.5989 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.5672, allocations: 8 kB / 0.5989 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004538/0.5676, allocations: 327.1 kB / 0.5992 GB, free: 14.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5676, allocations: 0 / 0.5992 GB, free: 14.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004786/0.5724, allocations: 0.9981 MB / 0.6002 GB, free: 13.06 MB / 446.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.008187/0.5806, allocations: 2.754 MB / 0.6029 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.582, allocations: 0.6186 MB / 0.6035 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.582, allocations: 0 / 0.6035 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.5827, allocations: 429 kB / 0.6039 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.584, allocations: 216.2 kB / 0.6041 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009637/0.5936, allocations: 5.069 MB / 0.609 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.594, allocations: 374.2 kB / 0.6094 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.5945, allocations: 274.8 kB / 0.6097 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.5949, allocations: 259.4 kB / 0.6099 GB, free: 2.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5949, allocations: 0 / 0.6099 GB, free: 2.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09116/0.686, allocations: 47.99 MB / 0.6568 GB, free: 2.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.59, allocations: 11.89 kB / 0.6568 GB, free: 2.855 MB / 494.1 MB " [Timeout remaining time 644] (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: 18.80395863193553] 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.788069447036833 15.817329452 15.321262066 Calling exit ...