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.001628/0.001628, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002471/0.002471, allocations: 212 kB / 24.54 MB, free: 4.016 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.507/1.507, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.23/0.23, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.002274/0.002274, allocations: 79.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3488, allocations: 66.09 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1823/0.531, allocations: 151.2 MB / 0.7091 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008215/0.5393, allocations: 5.646 MB / 0.7147 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.5399, allocations: 31.69 kB / 0.7147 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.541, allocations: 326 kB / 0.715 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.543, allocations: 0.8979 MB / 0.7159 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.5458, allocations: 1.043 MB / 0.7169 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.5482, allocations: 1.825 MB / 0.7187 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.5488, allocations: 389.7 kB / 0.719 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.5503, allocations: 0.7863 MB / 0.7198 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.5515, allocations: 0.7592 MB / 0.7206 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.5516, allocations: 60 kB / 0.7206 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.5529, allocations: 0.5926 MB / 0.7212 GB, free: 204 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.5532, allocations: 271.2 kB / 0.7215 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.5536, allocations: 398.1 kB / 0.7218 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.5552, allocations: 1.18 MB / 0.723 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5552, allocations: 0 / 0.723 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5552, allocations: 7.875 kB / 0.723 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5552, allocations: 0 / 0.723 GB, free: 14.35 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.002069/0.5573, allocations: 0.9989 MB / 0.724 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5573, allocations: 8.031 kB / 0.724 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.5574, allocations: 94.7 kB / 0.7241 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.5578, allocations: 96.41 kB / 0.7242 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.5586, allocations: 486.8 kB / 0.7246 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.5588, allocations: 160.4 kB / 0.7248 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/0.5589, allocations: 52.11 kB / 0.7248 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5602, allocations: 0.8146 MB / 0.7256 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.5602, allocations: 11.88 kB / 0.7256 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.5603, allocations: 20 kB / 0.7256 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.5604, allocations: 40.98 kB / 0.7257 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.5615, allocations: 0.6517 MB / 0.7263 GB, free: 10.78 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.004786/0.5663, allocations: 3.908 MB / 0.7301 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.5672, allocations: 418.4 kB / 0.7305 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.5675, allocations: 185.4 kB / 0.7307 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.5678, allocations: 60.22 kB / 0.7308 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.5678, allocations: 46.83 kB / 0.7308 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.345e-06/0.5678, allocations: 0 / 0.7308 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003257/0.5711, allocations: 1.398 MB / 0.7322 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.5712, allocations: 136.5 kB / 0.7323 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.5719, allocations: 0.5694 MB / 0.7329 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.572, allocations: 37.69 kB / 0.7329 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.5722, allocations: 363.8 kB / 0.7333 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.5724, allocations: 170.6 kB / 0.7334 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.5726, allocations: 138.6 kB / 0.7335 GB, free: 3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.5728, allocations: 378.8 kB / 0.7339 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.5732, allocations: 217.9 kB / 0.7341 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.5738, allocations: 0.5092 MB / 0.7346 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.5749, allocations: 0.764 MB / 0.7354 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5749, allocations: 4 kB / 0.7354 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2549/0.8298, allocations: 0.8985 MB / 0.7362 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.8299, allocations: 9.516 kB / 0.7363 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.8299, allocations: 13.09 kB / 0.7363 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.8315, allocations: 282 kB / 0.7365 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/0.8321, allocations: 125 kB / 0.7367 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.8332, allocations: 0.8877 MB / 0.7375 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.8337, allocations: 25.91 kB / 0.7375 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.8338, allocations: 38.22 kB / 0.7376 GB, free: 174.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.0003675/0.8342, allocations: 245.8 kB / 0.7378 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.8343, allocations: 72.69 kB / 0.7379 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.8358, allocations: 0.6915 MB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.8358, allocations: 8.75 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8358, allocations: 8.703 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.8358, allocations: 9.875 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.8376, allocations: 1.307 MB / 0.7399 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8376, allocations: 3.938 kB / 0.7399 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/0.8386, allocations: 204 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-05/0.8387, allocations: 26.5 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.8387, allocations: 14.17 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.84, allocations: 2.671 MB / 0.7427 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.84, allocations: 7.578 kB / 0.7427 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.8411, allocations: 0.9312 MB / 0.7436 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.8413, allocations: 135.4 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.8414, allocations: 19.44 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.8418, allocations: 15.94 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.8418, allocations: 37.77 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.8419, allocations: 24.75 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004095/0.8423, allocations: 430.5 kB / 0.7443 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8423, allocations: 0 / 0.7443 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007256/0.843, allocations: 222.5 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.001452/0.8445, allocations: 1.632 MB / 0.7461 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.8455, allocations: 0.5881 MB / 0.7466 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8455, allocations: 0 / 0.7466 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.8463, allocations: 441.2 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.00138/0.8477, allocations: 371.9 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.007101/0.8548, allocations: 6.488 MB / 0.7537 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.8551, allocations: 0.9499 MB / 0.7547 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005851/0.8557, allocations: 208.2 kB / 0.7549 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.8559, allocations: 233.7 kB / 0.7551 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.8559, allocations: 0 / 0.7551 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/0.9038, allocations: 23.15 MB / 0.7777 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.89, allocations: 0 / 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 & /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 --stepSize=0.000201919 --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: 16.852783672045916] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.995880098082125 14.005665742 13.448139147 Calling exit ...