Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 122.1 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002073/0.002073, allocations: 211.3 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 251.7 MB, free: 76 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2395/0.2395, allocations: 46.15 MB / 351.1 MB, free: 14.31 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 81.08 kB / 489.6 MB, free: 28.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1143, allocations: 62.46 MB / 0.5392 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03619/0.1505, allocations: 28.27 MB / 0.5668 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.1673, allocations: 13.3 MB / 0.5798 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.1677, allocations: 7.938 kB / 0.5798 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.1685, allocations: 250.4 kB / 0.58 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009676/0.1782, allocations: 3.673 MB / 0.5836 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006536/0.1848, allocations: 2.372 MB / 0.5859 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.1861, allocations: 0.9003 MB / 0.5868 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.1866, allocations: 248.7 kB / 0.587 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008336/0.1874, allocations: 446.2 kB / 0.5875 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.1878, allocations: 270.9 kB / 0.5877 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.1879, allocations: 39.94 kB / 0.5878 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01473/0.2026, allocations: 7.223 MB / 0.5948 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.2029, allocations: 111.6 kB / 0.5949 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.2032, allocations: 219.1 kB / 0.5951 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.2141, allocations: 4.435 MB / 0.5995 GB, free: 6.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2142, allocations: 0 / 0.5995 GB, free: 6.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2142, allocations: 0 / 0.5995 GB, free: 6.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.2142, allocations: 8 kB / 0.5995 GB, free: 6.855 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.003173/0.2174, allocations: 1.271 MB / 0.6007 GB, free: 5.531 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2175, allocations: 11.97 kB / 0.6007 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.738e-05/0.2175, allocations: 70.72 kB / 0.6008 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.2193, allocations: 208.5 kB / 0.601 GB, free: 5.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.2198, allocations: 387.4 kB / 0.6013 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.2199, allocations: 33.03 kB / 0.6014 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.22, allocations: 28.12 kB / 0.6014 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.2216, allocations: 0.5862 MB / 0.602 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2216, allocations: 0 / 0.602 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.2217, allocations: 16 kB / 0.602 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2217, allocations: 8 kB / 0.602 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.2234, allocations: 0.5445 MB / 0.6025 GB, free: 3.566 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.003185/0.2266, allocations: 2.637 MB / 0.6051 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.2282, allocations: 470.1 kB / 0.6056 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.2288, allocations: 200.7 kB / 0.6057 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3124/0.5412, allocations: 26.86 MB / 0.632 GB, free: 44.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5413, allocations: 41.38 kB / 0.632 GB, free: 43.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.5413, allocations: 0 / 0.632 GB, free: 43.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.002886/0.5442, allocations: 0.821 MB / 0.6328 GB, free: 43.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.5442, allocations: 106.3 kB / 0.6329 GB, free: 43.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.5446, allocations: 317.2 kB / 0.6332 GB, free: 43.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.5446, allocations: 31.14 kB / 0.6333 GB, free: 43.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5447, allocations: 205.5 kB / 0.6335 GB, free: 43.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.5448, allocations: 93.84 kB / 0.6335 GB, free: 43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.5449, allocations: 69.66 kB / 0.6336 GB, free: 42.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.545, allocations: 341.2 kB / 0.6339 GB, free: 42.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.5454, allocations: 152.6 kB / 0.6341 GB, free: 42.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.5459, allocations: 244.9 kB / 0.6343 GB, free: 42.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.5467, allocations: 378.4 kB / 0.6347 GB, free: 42.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-06/0.5467, allocations: 1 kB / 0.6347 GB, free: 42.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001018/0.5477, allocations: 441.4 kB / 0.6351 GB, free: 41.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5478, allocations: 7.094 kB / 0.6351 GB, free: 41.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5478, allocations: 4.562 kB / 0.6351 GB, free: 41.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.5478, allocations: 3.562 kB / 0.6351 GB, free: 41.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.5481, allocations: 94.56 kB / 0.6352 GB, free: 41.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5482, allocations: 9.234 kB / 0.6352 GB, free: 41.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.5485, allocations: 50.77 kB / 0.6353 GB, free: 41.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.5485, allocations: 10.62 kB / 0.6353 GB, free: 41.84 MB / 462.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.0001547/0.5487, allocations: 164.8 kB / 0.6354 GB, free: 41.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.5488, allocations: 37.52 kB / 0.6355 GB, free: 41.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.5509, allocations: 1.915 MB / 0.6373 GB, free: 40.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.551, allocations: 31.78 kB / 0.6374 GB, free: 40.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.551, allocations: 0 / 0.6374 GB, free: 40.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.551, allocations: 0 / 0.6374 GB, free: 40.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008143/0.5518, allocations: 1.025 MB / 0.6384 GB, free: 39.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5518, allocations: 1.375 kB / 0.6384 GB, free: 39.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.5522, allocations: 78.64 kB / 0.6384 GB, free: 39.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5522, allocations: 0.9375 kB / 0.6384 GB, free: 39.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.5522, allocations: 10.94 kB / 0.6384 GB, free: 39.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.5522, allocations: 10.06 kB / 0.6385 GB, free: 39.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5522, allocations: 0 / 0.6385 GB, free: 39.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.5535, allocations: 1.105 MB / 0.6395 GB, free: 39.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.5536, allocations: 162.9 kB / 0.6397 GB, free: 39.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.5537, allocations: 22.92 kB / 0.6397 GB, free: 39.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.5539, allocations: 31.08 kB / 0.6397 GB, free: 39.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.554, allocations: 42.97 kB / 0.6398 GB, free: 38.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.5541, allocations: 7.75 kB / 0.6398 GB, free: 38.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002555/0.5543, allocations: 326.6 kB / 0.6401 GB, free: 38.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5543, allocations: 0 / 0.6401 GB, free: 38.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002241/0.5566, allocations: 1.01 MB / 0.6411 GB, free: 38.64 MB / 462.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.005525/0.5621, allocations: 2.746 MB / 0.6438 GB, free: 37.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.5634, allocations: 0.6073 MB / 0.6444 GB, free: 36.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5634, allocations: 3.344 kB / 0.6444 GB, free: 36.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.564, allocations: 0.5217 MB / 0.6449 GB, free: 36.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5652, allocations: 224.8 kB / 0.6451 GB, free: 36.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.5718, allocations: 5.042 MB / 0.65 GB, free: 31.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.5721, allocations: 0.9599 MB / 0.651 GB, free: 30.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003993/0.5725, allocations: 279.1 kB / 0.6512 GB, free: 29.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.5728, allocations: 255.3 kB / 0.6515 GB, free: 29.62 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5728, allocations: 0 / 0.6515 GB, free: 29.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07487/0.6477, allocations: 46.83 MB / 0.6972 GB, free: 14.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.26, allocations: 8.062 kB / 0.6972 GB, free: 14.95 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.373355933930725] 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.366112380987033 12.391819263 12.173044531 Calling exit ...