Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009626/0.0009625, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3545/0.3545, allocations: 38.03 MB / 308.4 MB, free: 10.35 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005487/0.0005488, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.127, allocations: 57.51 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3621/0.4892, allocations: 125.4 MB / 0.5462 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007974/0.4972, allocations: 4.876 MB / 0.551 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.4984, allocations: 25.91 kB / 0.551 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.4997, allocations: 275.5 kB / 0.5512 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.5025, allocations: 0.7104 MB / 0.5519 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.5052, allocations: 0.8123 MB / 0.5527 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.5071, allocations: 1.03 MB / 0.5537 GB, free: 356 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000653/0.5078, allocations: 392.8 kB / 0.5541 GB, free: 228 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.509, allocations: 0.5594 MB / 0.5547 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007787/0.5097, allocations: 484.8 kB / 0.5551 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.5098, allocations: 33.59 kB / 0.5552 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.5111, allocations: 430.9 kB / 0.5556 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.5114, allocations: 217 kB / 0.5558 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.5116, allocations: 166.7 kB / 0.5559 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.5124, allocations: 0.7973 MB / 0.5567 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5125, allocations: 0 / 0.5567 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5125, allocations: 0 / 0.5567 GB, free: 15.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.5125, allocations: 0 / 0.5567 GB, free: 15.3 MB / 430.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.001768/0.5142, allocations: 0.927 MB / 0.5576 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5143, allocations: 12.56 kB / 0.5576 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.5147, allocations: 99 kB / 0.5577 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.5155, allocations: 492.7 kB / 0.5582 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.5156, allocations: 108.3 kB / 0.5583 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.5157, allocations: 48 kB / 0.5583 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5169, allocations: 0.8072 MB / 0.5591 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5169, allocations: 7.844 kB / 0.5591 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/0.517, allocations: 27.94 kB / 0.5592 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.5171, allocations: 44.97 kB / 0.5592 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5181, allocations: 0.6478 MB / 0.5598 GB, free: 12.05 MB / 430.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.004555/0.5227, allocations: 3.989 MB / 0.5637 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.5234, allocations: 423.2 kB / 0.5641 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.524, allocations: 0.7327 MB / 0.5649 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.5241, allocations: 42.84 kB / 0.5649 GB, free: 6.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.5241, allocations: 0 / 0.5649 GB, free: 6.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003134/0.5272, allocations: 1.54 MB / 0.5664 GB, free: 4.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.5274, allocations: 136.5 kB / 0.5665 GB, free: 4.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.5281, allocations: 0.5654 MB / 0.5671 GB, free: 4.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.5281, allocations: 33.7 kB / 0.5671 GB, free: 4.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.5284, allocations: 359 kB / 0.5675 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5285, allocations: 157.7 kB / 0.5676 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.5286, allocations: 16 kB / 0.5676 GB, free: 3.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5287, allocations: 382.7 kB / 0.568 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.5291, allocations: 209.9 kB / 0.5682 GB, free: 2.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.5296, allocations: 0.5045 MB / 0.5687 GB, free: 2.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.5301, allocations: 312.5 kB / 0.569 GB, free: 1.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5301, allocations: 0 / 0.569 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001698/0.5318, allocations: 0.9064 MB / 0.5699 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5318, allocations: 16.03 kB / 0.5699 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5318, allocations: 8 kB / 0.5699 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.5332, allocations: 284.6 kB / 0.5702 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.5336, allocations: 123.8 kB / 0.5703 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5346, allocations: 0.8869 MB / 0.5711 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.5351, allocations: 43.89 kB / 0.5712 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.5352, allocations: 39.98 kB / 0.5712 GB, free: 15.64 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003364/0.5356, allocations: 252 kB / 0.5715 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.5357, allocations: 63.25 kB / 0.5715 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.5369, allocations: 0.7769 MB / 0.5723 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.5369, allocations: 8 kB / 0.5723 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5369, allocations: 0 / 0.5723 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5369, allocations: 3.938 kB / 0.5723 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.5389, allocations: 1.419 MB / 0.5737 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.539, allocations: 0 / 0.5737 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.54, allocations: 204.8 kB / 0.5739 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.558e-05/0.5401, allocations: 28.8 kB / 0.5739 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.5401, allocations: 11.98 kB / 0.5739 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.5421, allocations: 2.695 MB / 0.5765 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5421, allocations: 4.031 kB / 0.5765 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.5435, allocations: 1.076 MB / 0.5776 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.5438, allocations: 208.2 kB / 0.5778 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.5439, allocations: 19.92 kB / 0.5778 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.5443, allocations: 27.98 kB / 0.5778 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.5444, allocations: 36.02 kB / 0.5779 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.5445, allocations: 27.92 kB / 0.5779 GB, free: 8.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004794/0.545, allocations: 407 kB / 0.5783 GB, free: 7.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.545, allocations: 0 / 0.5783 GB, free: 7.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008388/0.5458, allocations: 223.9 kB / 0.5785 GB, free: 7.668 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005042/0.5463, allocations: 251 kB / 0.5787 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.5476, allocations: 0.5954 MB / 0.5793 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5476, allocations: 4 kB / 0.5793 GB, free: 6.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.5486, allocations: 458.1 kB / 0.5798 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.5501, allocations: 321.4 kB / 0.5801 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.5522, allocations: 1.626 MB / 0.5817 GB, free: 4.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5528, allocations: 0.9503 MB / 0.5826 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006672/0.5534, allocations: 203.6 kB / 0.5828 GB, free: 3.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.5536, allocations: 67.42 kB / 0.5828 GB, free: 3.133 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5536, allocations: 0 / 0.5828 GB, free: 3.133 MB / 446.1 MB Notification: Performance of Templates: time 0.02418/0.5778, allocations: 13.69 MB / 0.5962 GB, free: 5.488 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: