Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00183/0.00183, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002345/0.002345, allocations: 202.2 kB / 24.52 MB, free: 4.156 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.93 MB / 361.6 MB, free: 4.273 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+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_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.89 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 66.04 MB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03551/0.3754, allocations: 28.67 MB / 0.5894 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.3945, allocations: 13.38 MB / 0.6025 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004494/0.3949, allocations: 15.88 kB / 0.6025 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.3958, allocations: 254.4 kB / 0.6028 GB, free: 10 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.4064, allocations: 3.678 MB / 0.6063 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006642/0.413, allocations: 2.386 MB / 0.6087 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.4144, allocations: 0.9119 MB / 0.6096 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005034/0.4149, allocations: 216.9 kB / 0.6098 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.416, allocations: 458.2 kB / 0.6102 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.4166, allocations: 286.9 kB / 0.6105 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.4166, allocations: 36 kB / 0.6105 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01474/0.4314, allocations: 7.262 MB / 0.6176 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.4316, allocations: 99.66 kB / 0.6177 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.432, allocations: 226.9 kB / 0.6179 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.4449, allocations: 4.431 MB / 0.6222 GB, free: 6.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4449, allocations: 0 / 0.6222 GB, free: 6.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4449, allocations: 0 / 0.6222 GB, free: 6.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4449, allocations: 0 / 0.6222 GB, free: 6.008 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.004271/0.4492, allocations: 1.211 MB / 0.6234 GB, free: 4.762 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4492, allocations: 12.03 kB / 0.6234 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.266e-05/0.4493, allocations: 8.844 kB / 0.6234 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.801e-05/0.4493, allocations: 66.72 kB / 0.6235 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.4511, allocations: 216.5 kB / 0.6237 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.4518, allocations: 317.2 kB / 0.624 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.4518, allocations: 25.03 kB / 0.624 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.4519, allocations: 31.94 kB / 0.6241 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.4536, allocations: 0.5979 MB / 0.6247 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.4536, allocations: 4 kB / 0.6247 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.4536, allocations: 15.98 kB / 0.6247 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4537, allocations: 8 kB / 0.6247 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.4554, allocations: 0.5371 MB / 0.6252 GB, free: 2.859 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.004053/0.4595, allocations: 2.535 MB / 0.6277 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.4613, allocations: 450.1 kB / 0.6281 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.4618, allocations: 184.7 kB / 0.6283 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04991/0.5117, allocations: 13.15 MB / 0.6411 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.5118, allocations: 34.56 kB / 0.6412 GB, free: 2.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.5118, allocations: 0 / 0.6412 GB, free: 2.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003329/0.5151, allocations: 0.817 MB / 0.642 GB, free: 1.441 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5152, allocations: 106.8 kB / 0.6421 GB, free: 1.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.5157, allocations: 320.4 kB / 0.6424 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.5157, allocations: 33.64 kB / 0.6424 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.516, allocations: 204.5 kB / 0.6426 GB, free: 0.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.5161, allocations: 95.2 kB / 0.6427 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.5162, allocations: 65.69 kB / 0.6428 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.5164, allocations: 346.8 kB / 0.6431 GB, free: 244 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.5169, allocations: 147.9 kB / 0.6432 GB, free: 96 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.5175, allocations: 239.9 kB / 0.6435 GB, free: 15.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5185, allocations: 381.8 kB / 0.6438 GB, free: 15.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5185, allocations: 0 / 0.6438 GB, free: 15.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001301/0.5198, allocations: 452.9 kB / 0.6443 GB, free: 14.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5199, allocations: 4 kB / 0.6443 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.5199, allocations: 8.25 kB / 0.6443 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.5199, allocations: 8 kB / 0.6443 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.5203, allocations: 87.88 kB / 0.6444 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.5203, allocations: 7.938 kB / 0.6444 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.5207, allocations: 43.81 kB / 0.6444 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.5207, allocations: 19.98 kB / 0.6444 GB, free: 14.79 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.0002535/0.521, allocations: 165.7 kB / 0.6446 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5211, allocations: 35.77 kB / 0.6446 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.5243, allocations: 1.988 MB / 0.6466 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/0.5243, allocations: 27.95 kB / 0.6466 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5243, allocations: 3.938 kB / 0.6466 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.5243, allocations: 3.984 kB / 0.6466 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5256, allocations: 1.019 MB / 0.6476 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5256, allocations: 0 / 0.6476 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.526, allocations: 79.92 kB / 0.6477 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.526, allocations: 4 kB / 0.6477 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5261, allocations: 7.938 kB / 0.6477 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5261, allocations: 4 kB / 0.6477 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5261, allocations: 0 / 0.6477 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.528, allocations: 1.132 MB / 0.6488 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.5281, allocations: 91.17 kB / 0.6489 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/0.5282, allocations: 31.72 kB / 0.6489 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.5285, allocations: 31.91 kB / 0.6489 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5287, allocations: 31.94 kB / 0.649 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.5287, allocations: 15.98 kB / 0.649 GB, free: 10.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.5291, allocations: 327.1 kB / 0.6493 GB, free: 9.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5291, allocations: 3.938 kB / 0.6493 GB, free: 9.719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003095/0.5322, allocations: 1.01 MB / 0.6503 GB, free: 8.707 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.007404/0.5396, allocations: 2.741 MB / 0.653 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.5413, allocations: 0.6142 MB / 0.6536 GB, free: 5.324 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5413, allocations: 0 / 0.6536 GB, free: 5.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000816/0.5421, allocations: 429.5 kB / 0.654 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.5435, allocations: 218.8 kB / 0.6542 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.5536, allocations: 5.065 MB / 0.6591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/0.5543, allocations: 0.9638 MB / 0.6601 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005964/0.5549, allocations: 281.8 kB / 0.6603 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.5553, allocations: 251.4 kB / 0.6606 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.5553, allocations: 0 / 0.6606 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09681/0.6522, allocations: 47.82 MB / 0.7073 GB, free: 14.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.23, allocations: 7.922 kB / 0.7073 GB, free: 14.33 MB / 0.545 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.37887201504782] 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.433631772990339 15.449052829 15.000782786 Calling exit ...