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.001391/0.001391, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001563/0.001563, allocations: 221.8 kB / 22.92 MB, free: 5.191 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.278/1.278, allocations: 230.2 MB / 256.1 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] 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.1967/0.1967, allocations: 46.89 MB / 359.3 MB, free: 4.953 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.002171/0.002171, allocations: 79.86 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2528, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1579/0.4107, allocations: 151.2 MB / 0.706 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.4178, allocations: 5.639 MB / 0.7115 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/0.4183, allocations: 19.88 kB / 0.7116 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.4192, allocations: 333.9 kB / 0.7119 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.421, allocations: 0.8746 MB / 0.7127 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.4234, allocations: 1.031 MB / 0.7137 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.4253, allocations: 1.813 MB / 0.7155 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006533/0.426, allocations: 397.4 kB / 0.7159 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.4273, allocations: 0.7747 MB / 0.7167 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.4285, allocations: 0.7631 MB / 0.7174 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.4286, allocations: 64 kB / 0.7175 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.4297, allocations: 0.5693 MB / 0.718 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.43, allocations: 271.1 kB / 0.7183 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.4305, allocations: 410.2 kB / 0.7187 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.4321, allocations: 1.168 MB / 0.7198 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4321, allocations: 8 kB / 0.7198 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4321, allocations: 0 / 0.7198 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.4321, allocations: 0 / 0.7198 GB, free: 15.32 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.00212/0.4342, allocations: 1.074 MB / 0.7209 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4343, allocations: 12.03 kB / 0.7209 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.4344, allocations: 94.7 kB / 0.721 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.4347, allocations: 100.4 kB / 0.7211 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.4355, allocations: 0.537 MB / 0.7216 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.4356, allocations: 105 kB / 0.7217 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/0.4357, allocations: 56.11 kB / 0.7217 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4369, allocations: 0.8071 MB / 0.7225 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4369, allocations: 7.938 kB / 0.7225 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/0.437, allocations: 20 kB / 0.7226 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.4371, allocations: 40.98 kB / 0.7226 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4381, allocations: 0.6595 MB / 0.7232 GB, free: 11.64 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.004301/0.4424, allocations: 3.956 MB / 0.7271 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.4432, allocations: 412 kB / 0.7275 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.4435, allocations: 193.4 kB / 0.7277 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/0.444, allocations: 0.7327 MB / 0.7284 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4441, allocations: 38.89 kB / 0.7284 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.684e-06/0.4441, allocations: 0 / 0.7284 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003018/0.4471, allocations: 1.562 MB / 0.73 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.4472, allocations: 136.5 kB / 0.7301 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.4478, allocations: 0.5694 MB / 0.7306 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.4478, allocations: 33.7 kB / 0.7307 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.4481, allocations: 359.9 kB / 0.731 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.4482, allocations: 170.6 kB / 0.7312 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.4484, allocations: 142.6 kB / 0.7313 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4486, allocations: 370.8 kB / 0.7317 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.4489, allocations: 217.9 kB / 0.7319 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.4495, allocations: 0.5201 MB / 0.7324 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.4505, allocations: 0.7601 MB / 0.7331 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4505, allocations: 4 kB / 0.7331 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.1887/0.6392, allocations: 0.8985 MB / 0.734 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6392, allocations: 9.031 kB / 0.734 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.6392, allocations: 17.25 kB / 0.734 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.6406, allocations: 285.8 kB / 0.7343 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.641, allocations: 126.3 kB / 0.7344 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009247/0.6419, allocations: 0.8861 MB / 0.7353 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.6424, allocations: 27.66 kB / 0.7353 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.6425, allocations: 34.19 kB / 0.7353 GB, free: 174.9 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.0003014/0.6428, allocations: 252.9 kB / 0.7356 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6429, allocations: 69.22 kB / 0.7357 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.6441, allocations: 0.7752 MB / 0.7364 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.6441, allocations: 6.016 kB / 0.7364 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6441, allocations: 0 / 0.7364 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6441, allocations: 3.734 kB / 0.7364 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6456, allocations: 1.41 MB / 0.7378 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6456, allocations: 6.406 kB / 0.7378 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.6465, allocations: 200.1 kB / 0.738 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.036e-05/0.6466, allocations: 26.44 kB / 0.738 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.6466, allocations: 16.2 kB / 0.738 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.6478, allocations: 2.875 MB / 0.7408 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6478, allocations: 3.938 kB / 0.7408 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009869/0.6488, allocations: 1.016 MB / 0.7418 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.6489, allocations: 206.7 kB / 0.742 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.649, allocations: 11.75 kB / 0.742 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.6494, allocations: 19.11 kB / 0.7421 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.6495, allocations: 33.95 kB / 0.7421 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.6495, allocations: 28.38 kB / 0.7421 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003357/0.6498, allocations: 430.2 kB / 0.7425 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.6498, allocations: 5.906 kB / 0.7425 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006452/0.6505, allocations: 221.6 kB / 0.7428 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.001448/0.6519, allocations: 1.714 MB / 0.7444 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008996/0.6528, allocations: 0.576 MB / 0.745 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6528, allocations: 7.953 kB / 0.745 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008293/0.6537, allocations: 446.6 kB / 0.7454 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.6551, allocations: 381.3 kB / 0.7458 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.6615, allocations: 6.484 MB / 0.7521 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.6617, allocations: 0.9383 MB / 0.753 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00047/0.6622, allocations: 209.3 kB / 0.7532 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.6624, allocations: 235.4 kB / 0.7535 GB, free: 159 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.6624, allocations: 5.094 kB / 0.7535 GB, free: 159 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.7076, allocations: 22.76 MB / 0.7757 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.45, allocations: 7.922 kB / 0.7757 GB, free: 136.4 MB / 0.5606 GB " [Timeout remaining time 647] (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: 14.942980924999574]