Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001271/0.001271, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001438/0.001438, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2219/0.2219, allocations: 46.94 MB / 361.6 MB, free: 4.199 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.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.002265/0.002265, allocations: 75.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3732, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1839/0.5571, allocations: 151.2 MB / 0.7092 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008293/0.5654, allocations: 5.635 MB / 0.7147 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007602/0.5661, allocations: 31.75 kB / 0.7147 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5672, allocations: 330 kB / 0.715 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.5692, allocations: 0.894 MB / 0.7159 GB, free: 5.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.5719, allocations: 1.054 MB / 0.7169 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.5743, allocations: 1.821 MB / 0.7187 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006098/0.5749, allocations: 397.6 kB / 0.7191 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.5762, allocations: 0.7864 MB / 0.7198 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.5774, allocations: 0.7514 MB / 0.7206 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.5776, allocations: 60 kB / 0.7206 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.5788, allocations: 0.5926 MB / 0.7212 GB, free: 212 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.5791, allocations: 275.1 kB / 0.7215 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000445/0.5796, allocations: 394.2 kB / 0.7218 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.5811, allocations: 1.179 MB / 0.723 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5811, allocations: 0 / 0.723 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5811, allocations: 0 / 0.723 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.5811, allocations: 0 / 0.723 GB, free: 14.37 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002045/0.5831, allocations: 0.9989 MB / 0.724 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5832, allocations: 12.03 kB / 0.724 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.5833, allocations: 102.7 kB / 0.7241 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.5837, allocations: 96.42 kB / 0.7242 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.5845, allocations: 478.8 kB / 0.7246 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.5846, allocations: 160.3 kB / 0.7248 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.5847, allocations: 56.06 kB / 0.7248 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.586, allocations: 0.811 MB / 0.7256 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.586, allocations: 4 kB / 0.7256 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.5861, allocations: 27.98 kB / 0.7257 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.5862, allocations: 36.98 kB / 0.7257 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5873, allocations: 0.6555 MB / 0.7263 GB, free: 10.79 MB / 0.5606 GB 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.004716/0.592, allocations: 3.908 MB / 0.7301 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.5928, allocations: 412.2 kB / 0.7305 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.5931, allocations: 189.4 kB / 0.7307 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.5934, allocations: 64.27 kB / 0.7308 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.526e-05/0.5935, allocations: 42.83 kB / 0.7308 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.5935, allocations: 0 / 0.7308 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003343/0.5968, allocations: 1.394 MB / 0.7322 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.5969, allocations: 140.5 kB / 0.7323 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007184/0.5976, allocations: 0.5693 MB / 0.7329 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.5977, allocations: 37.7 kB / 0.7329 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.598, allocations: 371.8 kB / 0.7333 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.5981, allocations: 158.6 kB / 0.7334 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.5983, allocations: 146.6 kB / 0.7336 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5985, allocations: 374.8 kB / 0.7339 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.5989, allocations: 213.9 kB / 0.7341 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.5995, allocations: 0.5092 MB / 0.7346 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.6006, allocations: 0.7601 MB / 0.7354 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.6006, allocations: 12 kB / 0.7354 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2458/0.8463, allocations: 0.9059 MB / 0.7362 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.8464, allocations: 8.75 kB / 0.7363 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.8464, allocations: 10.34 kB / 0.7363 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.8481, allocations: 278 kB / 0.7365 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.8487, allocations: 125.7 kB / 0.7367 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.8497, allocations: 0.8846 MB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.8503, allocations: 27.48 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.8504, allocations: 36.92 kB / 0.7376 GB, free: 174 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003747/0.8507, allocations: 247.8 kB / 0.7378 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.8509, allocations: 73.16 kB / 0.7379 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.8523, allocations: 0.6974 MB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.8523, allocations: 7.094 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8523, allocations: 5.562 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.8523, allocations: 5.391 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.854, allocations: 1.315 MB / 0.7399 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.854, allocations: 3.969 kB / 0.7399 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009694/0.855, allocations: 202.1 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.567e-05/0.8551, allocations: 20.94 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.8551, allocations: 14.06 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.8565, allocations: 2.674 MB / 0.7427 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8565, allocations: 7.906 kB / 0.7427 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.8575, allocations: 0.9358 MB / 0.7436 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.8577, allocations: 133 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.8578, allocations: 15.69 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.8581, allocations: 15.48 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.8582, allocations: 37.41 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.8583, allocations: 24.39 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003823/0.8586, allocations: 433.4 kB / 0.7443 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8586, allocations: 0 / 0.7443 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006909/0.8593, allocations: 223.9 kB / 0.7445 GB, free: 169.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.8608, allocations: 1.626 MB / 0.7461 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.8618, allocations: 0.5859 MB / 0.7466 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8618, allocations: 4 kB / 0.7466 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.8626, allocations: 444.6 kB / 0.7471 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.864, allocations: 378.7 kB / 0.7474 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.8715, allocations: 6.485 MB / 0.7538 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.8718, allocations: 0.9382 MB / 0.7547 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005945/0.8724, allocations: 199.3 kB / 0.7549 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.8727, allocations: 247.3 kB / 0.7551 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.8727, allocations: 0 / 0.7551 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.9216, allocations: 23.15 MB / 0.7777 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.99, allocations: 11.98 kB / 0.7777 GB, free: 136.2 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.91273777000606] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.09278247365728 14.102131438 13.518803149 Calling exit ...