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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2346/0.2346, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB 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.002373/0.002374, allocations: 80.7 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1186, allocations: 62.46 MB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3715/0.4901, allocations: 150.5 MB / 0.6159 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008185/0.4984, allocations: 5.603 MB / 0.6214 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.4991, allocations: 19.88 kB / 0.6214 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.5001, allocations: 321.9 kB / 0.6217 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.5022, allocations: 0.8551 MB / 0.6226 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.505, allocations: 1.027 MB / 0.6236 GB, free: 4.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.5074, allocations: 1.81 MB / 0.6253 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007697/0.5081, allocations: 463.7 kB / 0.6258 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.5095, allocations: 0.7552 MB / 0.6265 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.5106, allocations: 0.7163 MB / 0.6272 GB, free: 1.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.5107, allocations: 60 kB / 0.6273 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.5121, allocations: 0.5654 MB / 0.6278 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.5124, allocations: 263.3 kB / 0.6281 GB, free: 304 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.5128, allocations: 398.2 kB / 0.6284 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.5143, allocations: 1.161 MB / 0.6296 GB, free: 14.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5143, allocations: 0 / 0.6296 GB, free: 14.74 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5143, allocations: 0 / 0.6296 GB, free: 14.74 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.5143, allocations: 0 / 0.6296 GB, free: 14.74 MB / 478.1 MB 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.002137/0.5165, allocations: 1.064 MB / 0.6306 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5165, allocations: 12.03 kB / 0.6306 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5167, allocations: 102.5 kB / 0.6307 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.517, allocations: 92.08 kB / 0.6308 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.5178, allocations: 0.5054 MB / 0.6313 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.518, allocations: 104.9 kB / 0.6314 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.5181, allocations: 48.38 kB / 0.6315 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.5194, allocations: 0.8227 MB / 0.6323 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5194, allocations: 3.938 kB / 0.6323 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.5195, allocations: 24 kB / 0.6323 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.5196, allocations: 40.97 kB / 0.6323 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.5207, allocations: 0.6478 MB / 0.633 GB, free: 11.11 MB / 478.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.005037/0.5257, allocations: 3.982 MB / 0.6368 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.5266, allocations: 427 kB / 0.6372 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.5269, allocations: 205.4 kB / 0.6374 GB, free: 6.219 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/0.5277, allocations: 0.7366 MB / 0.6382 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.5277, allocations: 43.22 kB / 0.6382 GB, free: 5.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.5277, allocations: 0 / 0.6382 GB, free: 5.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003368/0.5311, allocations: 1.541 MB / 0.6397 GB, free: 3.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.5312, allocations: 132.5 kB / 0.6398 GB, free: 3.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.5319, allocations: 0.5732 MB / 0.6404 GB, free: 2.906 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.532, allocations: 29.7 kB / 0.6404 GB, free: 2.871 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.5323, allocations: 362.9 kB / 0.6408 GB, free: 2.512 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.5324, allocations: 161.8 kB / 0.6409 GB, free: 2.352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.5327, allocations: 142.5 kB / 0.6411 GB, free: 2.207 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5329, allocations: 370.8 kB / 0.6414 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.5333, allocations: 221.8 kB / 0.6416 GB, free: 1.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.5339, allocations: 0.5201 MB / 0.6421 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.535, allocations: 0.7601 MB / 0.6429 GB, free: 72 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.535, allocations: 4 kB / 0.6429 GB, free: 68 kB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001731/0.5367, allocations: 0.9065 MB / 0.6438 GB, free: 15.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5368, allocations: 11.94 kB / 0.6438 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.5368, allocations: 8 kB / 0.6438 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.5382, allocations: 288.6 kB / 0.6441 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.5387, allocations: 123.8 kB / 0.6442 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.5399, allocations: 0.8821 MB / 0.645 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.5403, allocations: 28 kB / 0.6451 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.5404, allocations: 38.5 kB / 0.6451 GB, free: 13.75 MB / 494.1 MB 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.0003523/0.5407, allocations: 264.7 kB / 0.6454 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5409, allocations: 63.25 kB / 0.6454 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.5422, allocations: 0.767 MB / 0.6462 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5423, allocations: 7.984 kB / 0.6462 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5423, allocations: 0 / 0.6462 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5423, allocations: 3.938 kB / 0.6462 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.5444, allocations: 1.416 MB / 0.6476 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.5445, allocations: 0 / 0.6476 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5455, allocations: 204 kB / 0.6478 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.644e-05/0.5456, allocations: 24.84 kB / 0.6478 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.5456, allocations: 19.98 kB / 0.6478 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.5479, allocations: 2.868 MB / 0.6506 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.548, allocations: 4.188 kB / 0.6506 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.5496, allocations: 1.011 MB / 0.6516 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.5499, allocations: 205.1 kB / 0.6518 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.54e-05/0.55, allocations: 12 kB / 0.6518 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.5504, allocations: 19.98 kB / 0.6518 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.5505, allocations: 39.83 kB / 0.6519 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.5506, allocations: 23.98 kB / 0.6519 GB, free: 6.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005947/0.5512, allocations: 431.1 kB / 0.6523 GB, free: 5.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.5512, allocations: 4 kB / 0.6523 GB, free: 5.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008573/0.5521, allocations: 227.9 kB / 0.6525 GB, free: 5.688 MB / 494.1 MB 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.002206/0.5543, allocations: 1.711 MB / 0.6542 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.5559, allocations: 0.657 MB / 0.6548 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5559, allocations: 0.5625 kB / 0.6548 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.557, allocations: 458.3 kB / 0.6553 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.5588, allocations: 376 kB / 0.6556 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5691, allocations: 6.716 MB / 0.6622 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.5697, allocations: 0.9384 MB / 0.6631 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007769/0.5705, allocations: 212.8 kB / 0.6633 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.5708, allocations: 239.4 kB / 0.6635 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.5708, allocations: 0 / 0.6635 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05785/0.6287, allocations: 22.32 MB / 0.6853 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.19, allocations: 9.406 kB / 0.6853 GB, free: 3.906 MB / 0.5137 GB (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)