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.001441/0.001441, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001523/0.001523, allocations: 218.4 kB / 22.92 MB, free: 5.539 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.29/1.29, allocations: 230.2 MB / 256.1 MB, free: 8.766 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.1969/0.1969, allocations: 46.89 MB / 359.3 MB, free: 4.969 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.002113/0.002113, allocations: 79.86 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2557, allocations: 65.98 MB / 0.5584 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1561/0.4118, allocations: 151.2 MB / 0.706 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00725/0.4191, allocations: 5.643 MB / 0.7116 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.4195, allocations: 19.88 kB / 0.7116 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008084/0.4203, allocations: 333.9 kB / 0.7119 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.4218, allocations: 0.8746 MB / 0.7127 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.4241, allocations: 1.038 MB / 0.7138 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.426, allocations: 1.813 MB / 0.7155 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.4265, allocations: 389.4 kB / 0.7159 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.4276, allocations: 0.7825 MB / 0.7167 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.4287, allocations: 0.7592 MB / 0.7174 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.4288, allocations: 60 kB / 0.7175 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.43, allocations: 0.5771 MB / 0.718 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.4303, allocations: 267.2 kB / 0.7183 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.4307, allocations: 406.2 kB / 0.7187 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.4321, allocations: 1.179 MB / 0.7198 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4321, allocations: 0 / 0.7198 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4321, allocations: 0 / 0.7198 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.4321, allocations: 0 / 0.7198 GB, free: 15.45 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.001919/0.434, allocations: 1.07 MB / 0.7209 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4341, allocations: 12.03 kB / 0.7209 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.4342, allocations: 98.69 kB / 0.721 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.4345, allocations: 96.42 kB / 0.7211 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.4353, allocations: 0.5448 MB / 0.7216 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.94e-05/0.4354, allocations: 96.97 kB / 0.7217 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.561e-05/0.4355, allocations: 56.11 kB / 0.7217 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.4367, allocations: 0.8071 MB / 0.7225 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.4367, allocations: 8 kB / 0.7225 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.4368, allocations: 24 kB / 0.7226 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.4368, allocations: 40.97 kB / 0.7226 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.4379, allocations: 0.6517 MB / 0.7232 GB, free: 11.77 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.004402/0.4423, allocations: 3.956 MB / 0.7271 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007755/0.443, allocations: 412.2 kB / 0.7275 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.4433, allocations: 193 kB / 0.7277 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.4439, allocations: 0.7327 MB / 0.7284 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.444, allocations: 46.83 kB / 0.7284 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.444, allocations: 0 / 0.7284 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003081/0.4471, allocations: 1.566 MB / 0.73 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.4471, allocations: 136.5 kB / 0.7301 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/0.4478, allocations: 0.5694 MB / 0.7306 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.4478, allocations: 37.64 kB / 0.7307 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.4481, allocations: 359.9 kB / 0.731 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.4482, allocations: 174.6 kB / 0.7312 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.4484, allocations: 138.6 kB / 0.7313 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4486, allocations: 374.8 kB / 0.7317 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.449, allocations: 213.9 kB / 0.7319 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.4496, allocations: 0.5201 MB / 0.7324 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009847/0.4505, allocations: 0.7562 MB / 0.7331 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.4505, allocations: 4 kB / 0.7331 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.1951/0.6456, allocations: 0.905 MB / 0.734 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.6456, allocations: 9.531 kB / 0.734 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.6456, allocations: 8.844 kB / 0.734 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.647, allocations: 288.4 kB / 0.7343 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.6475, allocations: 125.1 kB / 0.7344 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008797/0.6484, allocations: 0.8819 MB / 0.7353 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.6488, allocations: 28.03 kB / 0.7353 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.6489, allocations: 40.33 kB / 0.7354 GB, free: 175.1 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.0002955/0.6492, allocations: 252.3 kB / 0.7356 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.6493, allocations: 68.22 kB / 0.7357 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.6505, allocations: 0.7712 MB / 0.7364 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.6505, allocations: 8.578 kB / 0.7364 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6505, allocations: 0.5625 kB / 0.7364 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6505, allocations: 0.7188 kB / 0.7364 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.652, allocations: 1.41 MB / 0.7378 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.652, allocations: 0.6562 kB / 0.7378 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.6529, allocations: 202.6 kB / 0.738 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.057e-05/0.653, allocations: 27.97 kB / 0.738 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.653, allocations: 18.11 kB / 0.738 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.6542, allocations: 2.872 MB / 0.7408 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6542, allocations: 7.906 kB / 0.7409 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.6551, allocations: 1.013 MB / 0.7418 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.6553, allocations: 206.1 kB / 0.742 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.6554, allocations: 17.09 kB / 0.7421 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.6557, allocations: 15.12 kB / 0.7421 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.6558, allocations: 41.91 kB / 0.7421 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.6558, allocations: 23.23 kB / 0.7421 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003257/0.6562, allocations: 429.8 kB / 0.7425 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6562, allocations: 0 / 0.7425 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00061/0.6568, allocations: 224.1 kB / 0.7428 GB, free: 169.9 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.001402/0.6582, allocations: 1.705 MB / 0.7444 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008927/0.6591, allocations: 0.5791 MB / 0.745 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6591, allocations: 6.234 kB / 0.745 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008093/0.6599, allocations: 438 kB / 0.7454 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.6612, allocations: 379.8 kB / 0.7458 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/0.6675, allocations: 6.488 MB / 0.7521 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.6677, allocations: 0.9439 MB / 0.753 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004418/0.6682, allocations: 206.9 kB / 0.7532 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.6684, allocations: 246.1 kB / 0.7535 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.6684, allocations: 0 / 0.7535 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.7129, allocations: 22.76 MB / 0.7757 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.33, allocations: 5.484 kB / 0.7757 GB, free: 136.8 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.834251403997769]