Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 99 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.001546/0.001546, allocations: 177.3 kB / 15.94 MB, free: 228 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.592/1.592, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.3444/0.3444, allocations: 38.03 MB / 308.4 MB, free: 10.51 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.0005974/0.0005975, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3845/0.4951, allocations: 141.9 MB / 0.5623 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.5119, allocations: 8.802 MB / 0.5709 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.5133, allocations: 27.75 kB / 0.571 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.5145, allocations: 270.6 kB / 0.5712 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.5203, allocations: 1.177 MB / 0.5724 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.5245, allocations: 0.9 MB / 0.5732 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.527, allocations: 1.04 MB / 0.5743 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009304/0.5279, allocations: 396.3 kB / 0.5746 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.5306, allocations: 0.7441 MB / 0.5754 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.5317, allocations: 454.5 kB / 0.5758 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.532, allocations: 32 kB / 0.5758 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.5345, allocations: 0.6242 MB / 0.5764 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004913/0.535, allocations: 219.4 kB / 0.5766 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.5355, allocations: 165.3 kB / 0.5768 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.5374, allocations: 0.9777 MB / 0.5778 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.5374, allocations: 0 / 0.5778 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5374, allocations: 0 / 0.5778 GB, free: 10.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.5374, allocations: 4 kB / 0.5778 GB, free: 10.33 MB / 446.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.002873/0.5403, allocations: 0.9928 MB / 0.5787 GB, free: 9.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5404, allocations: 12.5 kB / 0.5787 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.5417, allocations: 139 kB / 0.5789 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.5429, allocations: 488.7 kB / 0.5793 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5431, allocations: 100.4 kB / 0.5794 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.5433, allocations: 55.98 kB / 0.5795 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.5452, allocations: 0.8019 MB / 0.5803 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.5452, allocations: 7.844 kB / 0.5803 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.5454, allocations: 27.95 kB / 0.5803 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/0.5455, allocations: 44.95 kB / 0.5804 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.5471, allocations: 0.6205 MB / 0.581 GB, free: 6.875 MB / 446.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.005108/0.5522, allocations: 3.954 MB / 0.5848 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.5527, allocations: 359.5 kB / 0.5852 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.243e-05/0.5528, allocations: 32.91 kB / 0.5852 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5529, allocations: 38.84 kB / 0.5852 GB, free: 2.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/0.5529, allocations: 0 / 0.5852 GB, free: 2.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005994/0.5589, allocations: 1.667 MB / 0.5869 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.559, allocations: 140.5 kB / 0.587 GB, free: 344 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/0.5599, allocations: 0.6094 MB / 0.5876 GB, free: 15.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.5599, allocations: 33.7 kB / 0.5876 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.5602, allocations: 366.9 kB / 0.588 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.5604, allocations: 138 kB / 0.5881 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.5604, allocations: 12 kB / 0.5881 GB, free: 15.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5606, allocations: 374.8 kB / 0.5885 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.5609, allocations: 201.9 kB / 0.5887 GB, free: 14.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.5616, allocations: 0.5047 MB / 0.5892 GB, free: 13.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.5621, allocations: 295.5 kB / 0.5894 GB, free: 13.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.5621, allocations: 4 kB / 0.5894 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001598/0.5638, allocations: 0.8718 MB / 0.5903 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5638, allocations: 8 kB / 0.5903 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.5638, allocations: 12 kB / 0.5903 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.5653, allocations: 329.2 kB / 0.5906 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.5657, allocations: 123.8 kB / 0.5907 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.5668, allocations: 0.9295 MB / 0.5917 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/0.5674, allocations: 48 kB / 0.5917 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.5675, allocations: 63.98 kB / 0.5918 GB, free: 11.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003792/0.5679, allocations: 245.5 kB / 0.592 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.568, allocations: 71.19 kB / 0.5921 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.5695, allocations: 0.6775 MB / 0.5927 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.5696, allocations: 7.984 kB / 0.5927 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5696, allocations: 3.953 kB / 0.5927 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5696, allocations: 4 kB / 0.5927 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.5717, allocations: 1.269 MB / 0.594 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5718, allocations: 4 kB / 0.594 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.5728, allocations: 211.9 kB / 0.5942 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.5729, allocations: 24.84 kB / 0.5942 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.573, allocations: 23.98 kB / 0.5942 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/0.5753, allocations: 2.696 MB / 0.5969 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5753, allocations: 0 / 0.5969 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.5767, allocations: 0.8529 MB / 0.5977 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.5771, allocations: 192.2 kB / 0.5979 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.5773, allocations: 8 kB / 0.5979 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.5778, allocations: 28.05 kB / 0.5979 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.5779, allocations: 35.95 kB / 0.5979 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.5779, allocations: 43.92 kB / 0.598 GB, free: 4.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006046/0.5786, allocations: 431 kB / 0.5984 GB, free: 3.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5786, allocations: 0 / 0.5984 GB, free: 3.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001092/0.5797, allocations: 292 kB / 0.5987 GB, free: 3.703 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009869/0.5807, allocations: 375.9 kB / 0.599 GB, free: 3.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.582, allocations: 0.5377 MB / 0.5996 GB, free: 2.797 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.582, allocations: 0 / 0.5996 GB, free: 2.797 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.583, allocations: 419.8 kB / 0.6 GB, free: 2.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.5847, allocations: 327 kB / 0.6003 GB, free: 2.059 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.587, allocations: 1.535 MB / 0.6018 GB, free: 496 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.5877, allocations: 0.9494 MB / 0.6027 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001125/0.5888, allocations: 269.9 kB / 0.603 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.5892, allocations: 99.41 kB / 0.6031 GB, free: 15.14 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5892, allocations: 0 / 0.6031 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Templates: time 0.03101/0.6202, allocations: 17.07 MB / 0.6197 GB, free: 14.11 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) Environment - environmentSimulation: