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.001299/0.001299, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001451/0.001451, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.484/1.484, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.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.2525/0.2525, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002397/0.002397, allocations: 75.88 kB / 0.4917 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1249, allocations: 66.05 MB / 0.5562 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03307/0.158, allocations: 28.44 MB / 0.5839 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2708/0.4287, allocations: 13.32 MB / 0.5969 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.4291, allocations: 16.66 kB / 0.597 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007144/0.4298, allocations: 253.4 kB / 0.5972 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00996/0.4398, allocations: 3.684 MB / 0.6008 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006521/0.4463, allocations: 2.381 MB / 0.6031 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4477, allocations: 0.9013 MB / 0.604 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.4481, allocations: 212.4 kB / 0.6042 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000957/0.449, allocations: 456.9 kB / 0.6046 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.4495, allocations: 292 kB / 0.6049 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.068e-05/0.4496, allocations: 33.41 kB / 0.605 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.4652, allocations: 7.25 MB / 0.612 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.4654, allocations: 103 kB / 0.6121 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.4659, allocations: 227.7 kB / 0.6124 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.4784, allocations: 4.431 MB / 0.6167 GB, free: 2.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4784, allocations: 0 / 0.6167 GB, free: 2.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4784, allocations: 0 / 0.6167 GB, free: 2.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.4784, allocations: 1.188 kB / 0.6167 GB, free: 2.281 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.004395/0.4828, allocations: 1.282 MB / 0.6179 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4828, allocations: 10.25 kB / 0.6179 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.4829, allocations: 66.78 kB / 0.618 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.4847, allocations: 216.1 kB / 0.6182 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/0.4853, allocations: 383.9 kB / 0.6186 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.4853, allocations: 24.91 kB / 0.6186 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.4853, allocations: 29 kB / 0.6186 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.4869, allocations: 0.5906 MB / 0.6192 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4869, allocations: 5.125 kB / 0.6192 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.487, allocations: 15.7 kB / 0.6192 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.487, allocations: 7.781 kB / 0.6192 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.4886, allocations: 0.5429 MB / 0.6198 GB, free: 0.5742 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.003212/0.4918, allocations: 2.629 MB / 0.6223 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.4936, allocations: 445.9 kB / 0.6228 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.4941, allocations: 190.5 kB / 0.6229 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05473/0.5488, allocations: 26.88 MB / 0.6492 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.5488, allocations: 42.55 kB / 0.6492 GB, free: 5.531 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.5488, allocations: 4 kB / 0.6492 GB, free: 5.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003244/0.5521, allocations: 0.8209 MB / 0.65 GB, free: 4.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.5522, allocations: 102.8 kB / 0.6501 GB, free: 4.574 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.5526, allocations: 312.5 kB / 0.6504 GB, free: 4.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.5526, allocations: 33.7 kB / 0.6505 GB, free: 4.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5528, allocations: 212.5 kB / 0.6507 GB, free: 4.016 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.5529, allocations: 86.62 kB / 0.6507 GB, free: 3.934 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.553, allocations: 73.64 kB / 0.6508 GB, free: 3.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5532, allocations: 342.8 kB / 0.6511 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.5537, allocations: 145.4 kB / 0.6513 GB, free: 3.371 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.5542, allocations: 248.4 kB / 0.6515 GB, free: 3.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.5552, allocations: 385.9 kB / 0.6519 GB, free: 2.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5552, allocations: 4 kB / 0.6519 GB, free: 2.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001211/0.5564, allocations: 437 kB / 0.6523 GB, free: 2.242 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5564, allocations: 8 kB / 0.6523 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5564, allocations: 0 / 0.6523 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.5565, allocations: 10.06 kB / 0.6523 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.5569, allocations: 95.86 kB / 0.6524 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5569, allocations: 4.312 kB / 0.6524 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.5572, allocations: 55.7 kB / 0.6525 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.5573, allocations: 21.58 kB / 0.6525 GB, free: 2.055 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.0002297/0.5575, allocations: 161.7 kB / 0.6526 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.5576, allocations: 31.81 kB / 0.6527 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.5604, allocations: 1.914 MB / 0.6545 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/0.5604, allocations: 35.89 kB / 0.6546 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5604, allocations: 0 / 0.6546 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.5604, allocations: 4.875 kB / 0.6546 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.5616, allocations: 1.016 MB / 0.6556 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.5616, allocations: 3.984 kB / 0.6556 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.562, allocations: 75.88 kB / 0.6557 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.562, allocations: 0 / 0.6557 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.562, allocations: 12 kB / 0.6557 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.562, allocations: 10.61 kB / 0.6557 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.562, allocations: 4 kB / 0.6557 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.5638, allocations: 1.1 MB / 0.6568 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.5639, allocations: 164.3 kB / 0.6569 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.564, allocations: 27.77 kB / 0.6569 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.5643, allocations: 31.91 kB / 0.657 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.5644, allocations: 31.95 kB / 0.657 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.5644, allocations: 8 kB / 0.657 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003892/0.5648, allocations: 339.1 kB / 0.6573 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5648, allocations: 0 / 0.6573 GB, free: 13.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003845/0.5686, allocations: 1.006 MB / 0.6583 GB, free: 12.02 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.007986/0.5766, allocations: 2.722 MB / 0.661 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.5781, allocations: 0.5988 MB / 0.6616 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5781, allocations: 0 / 0.6616 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.5788, allocations: 413 kB / 0.6619 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5801, allocations: 219.9 kB / 0.6622 GB, free: 8.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009892/0.59, allocations: 5.04 MB / 0.6671 GB, free: 2.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.5906, allocations: 0.9638 MB / 0.668 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005271/0.5911, allocations: 280.4 kB / 0.6683 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.5915, allocations: 259.3 kB / 0.6685 GB, free: 1.461 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5915, allocations: 0 / 0.6685 GB, free: 1.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09182/0.6833, allocations: 46.84 MB / 0.7143 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.02, allocations: 4 kB / 0.7143 GB, free: 2.758 MB / 0.5294 GB " [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.095041743014008] 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.127197241876274 12.152657669 11.669339051 Calling exit ...