Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 189.3 kB / 16.66 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 58.52 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09431, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.412/0.5064, allocations: 144 MB / 0.5051 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.5099, allocations: 1.729 MB / 0.5068 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.5104, allocations: 9.094 kB / 0.5068 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.5114, allocations: 178 kB / 0.507 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.5127, allocations: 326.4 kB / 0.5073 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.5145, allocations: 414.8 kB / 0.5077 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.5161, allocations: 0.8485 MB / 0.5085 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.5164, allocations: 99.95 kB / 0.5086 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009672/0.5174, allocations: 391.5 kB / 0.509 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000635/0.518, allocations: 328.8 kB / 0.5093 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.299e-05/0.5181, allocations: 34.53 kB / 0.5093 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.5186, allocations: 138.4 kB / 0.5094 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.5188, allocations: 90.5 kB / 0.5095 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.5191, allocations: 189.8 kB / 0.5097 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.52, allocations: 0.4911 MB / 0.5102 GB, free: 7.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.52, allocations: 2.938 kB / 0.5102 GB, free: 7.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.52, allocations: 0 / 0.5102 GB, free: 7.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.52, allocations: 0 / 0.5102 GB, free: 7.629 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00109/0.5211, allocations: 0.601 MB / 0.5108 GB, free: 7.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.5212, allocations: 7.781 kB / 0.5108 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.5216, allocations: 45.3 kB / 0.5108 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.5222, allocations: 290.1 kB / 0.5111 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.5222, allocations: 22.44 kB / 0.5111 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.5223, allocations: 26.62 kB / 0.5111 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007287/0.5231, allocations: 302.4 kB / 0.5114 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.5231, allocations: 3 kB / 0.5114 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.5232, allocations: 10.28 kB / 0.5114 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5232, allocations: 4.594 kB / 0.5115 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.5237, allocations: 209.2 kB / 0.5117 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.526, allocations: 1.288 MB / 0.5129 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.5265, allocations: 196.8 kB / 0.5131 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.5268, allocations: 94.22 kB / 0.5132 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.527, allocations: 167.8 kB / 0.5133 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.527, allocations: 37.12 kB / 0.5134 GB, free: 4.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.5271, allocations: 7.938 kB / 0.5134 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.003333/0.5304, allocations: 1.035 MB / 0.5144 GB, free: 4.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.5305, allocations: 55.84 kB / 0.5145 GB, free: 3.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.5308, allocations: 262 kB / 0.5147 GB, free: 3.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.5309, allocations: 36.27 kB / 0.5147 GB, free: 3.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5311, allocations: 181 kB / 0.5149 GB, free: 3.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/0.5312, allocations: 95.39 kB / 0.515 GB, free: 3.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.5313, allocations: 64.72 kB / 0.5151 GB, free: 3.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5315, allocations: 338.1 kB / 0.5154 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.5317, allocations: 86.27 kB / 0.5155 GB, free: 3.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.532, allocations: 177 kB / 0.5156 GB, free: 2.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.5326, allocations: 290.8 kB / 0.5159 GB, free: 2.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5326, allocations: 0 / 0.5159 GB, free: 2.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009/0.5335, allocations: 446 kB / 0.5163 GB, free: 2.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5336, allocations: 7.781 kB / 0.5163 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5336, allocations: 1.812 kB / 0.5163 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.5338, allocations: 36.05 kB / 0.5164 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.5342, allocations: 83.89 kB / 0.5165 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.5369, allocations: 2.757 MB / 0.5192 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.5372, allocations: 15.97 kB / 0.5192 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.5373, allocations: 16.53 kB / 0.5192 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.5375, allocations: 160.5 kB / 0.5193 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5376, allocations: 31.41 kB / 0.5194 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/0.5384, allocations: 358.3 kB / 0.5197 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5384, allocations: 6.562 kB / 0.5197 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5384, allocations: 0 / 0.5197 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007665/0.5392, allocations: 0.6134 MB / 0.5203 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.5406, allocations: 0.7684 MB / 0.5211 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5406, allocations: 4 kB / 0.5211 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.541, allocations: 58.97 kB / 0.5211 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-05/0.5411, allocations: 20.66 kB / 0.5211 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.5411, allocations: 10.33 kB / 0.5212 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.5424, allocations: 1.378 MB / 0.5225 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5424, allocations: 3.938 kB / 0.5225 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.5433, allocations: 0.5149 MB / 0.523 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.5434, allocations: 104.5 kB / 0.5231 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.5434, allocations: 10.69 kB / 0.5231 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.5438, allocations: 8.781 kB / 0.5231 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.5439, allocations: 15.47 kB / 0.5231 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.5439, allocations: 15.36 kB / 0.5232 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.5442, allocations: 189.5 kB / 0.5233 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5442, allocations: 4.062 kB / 0.5233 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.5446, allocations: 100.2 kB / 0.5234 GB, free: 11.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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): 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.000242/0.5449, allocations: 134.2 kB / 0.5236 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.5456, allocations: 454 kB / 0.524 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5456, allocations: 0 / 0.524 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.5458, allocations: 209.9 kB / 0.5242 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008815/0.5467, allocations: 160.1 kB / 0.5244 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.548, allocations: 0.6858 MB / 0.525 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.5483, allocations: 0.7645 MB / 0.5258 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.5486, allocations: 58.94 kB / 0.5258 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.5487, allocations: 27.44 kB / 0.5258 GB, free: 9.348 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5487, allocations: 0 / 0.5258 GB, free: 9.348 MB / 414.1 MB Notification: Performance of Templates: time 0.01066/0.5593, allocations: 6.236 MB / 0.5319 GB, free: 3.102 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)