Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 106.3 kB / 17.06 MB, free: 6.023 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.001/0.001, allocations: 195 kB / 18 MB, free: 5.105 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.363/1.363, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001266/0.001266, allocations: 43.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08549, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3328/0.4183, allocations: 150.9 MB / 0.513 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.42, allocations: 1.49 MB / 0.5145 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.4201, allocations: 0 / 0.5145 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.4204, allocations: 51.73 kB / 0.5145 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008452/0.4213, allocations: 386.2 kB / 0.5149 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.4218, allocations: 172.1 kB / 0.5151 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.422, allocations: 183.3 kB / 0.5152 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.422, allocations: 12 kB / 0.5152 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.4222, allocations: 79.62 kB / 0.5153 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.4223, allocations: 55.81 kB / 0.5154 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.4223, allocations: 8 kB / 0.5154 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.4232, allocations: 0.569 MB / 0.5159 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.4233, allocations: 35.89 kB / 0.516 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.4233, allocations: 51.78 kB / 0.516 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.4238, allocations: 388.4 kB / 0.5164 GB, free: 4.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4239, allocations: 7.938 kB / 0.5164 GB, free: 4.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4239, allocations: 4 kB / 0.5164 GB, free: 4.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4239, allocations: 0 / 0.5164 GB, free: 4.824 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004653/0.4244, allocations: 431.9 kB / 0.5168 GB, free: 4.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.4244, allocations: 8.031 kB / 0.5168 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.4266, allocations: 188.6 kB / 0.517 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.4268, allocations: 212.2 kB / 0.5172 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.4268, allocations: 8.312 kB / 0.5172 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.4269, allocations: 12 kB / 0.5172 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.4274, allocations: 197.5 kB / 0.5174 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4274, allocations: 0 / 0.5174 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.4274, allocations: 15.97 kB / 0.5174 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4274, allocations: 0 / 0.5174 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.428, allocations: 243.8 kB / 0.5177 GB, free: 3.445 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.00175/0.4298, allocations: 0.6724 MB / 0.5183 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.4302, allocations: 186.4 kB / 0.5185 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.4305, allocations: 97.69 kB / 0.5186 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.4307, allocations: 97.08 kB / 0.5187 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4307, allocations: 30.56 kB / 0.5187 GB, free: 2.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.4307, allocations: 0 / 0.5187 GB, free: 2.273 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005843/0.4366, allocations: 1.526 MB / 0.5202 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4366, allocations: 55.41 kB / 0.5203 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.4367, allocations: 117.8 kB / 0.5204 GB, free: 456 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.4368, allocations: 29.7 kB / 0.5204 GB, free: 420 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.4368, allocations: 96.41 kB / 0.5205 GB, free: 320 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.4369, allocations: 70.94 kB / 0.5206 GB, free: 248 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.4371, allocations: 41.69 kB / 0.5206 GB, free: 200 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4372, allocations: 322.8 kB / 0.5209 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.4375, allocations: 87.95 kB / 0.521 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.4377, allocations: 135.2 kB / 0.5211 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.4382, allocations: 219.3 kB / 0.5213 GB, free: 15.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4382, allocations: 2.75 kB / 0.5213 GB, free: 15.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006632/0.4389, allocations: 294.1 kB / 0.5216 GB, free: 15.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4389, allocations: 4 kB / 0.5216 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4389, allocations: 4 kB / 0.5216 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.4391, allocations: 16.84 kB / 0.5216 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.4396, allocations: 63.89 kB / 0.5217 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004638/0.4401, allocations: 0.5368 MB / 0.5222 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.4404, allocations: 8.031 kB / 0.5222 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.4404, allocations: 11.98 kB / 0.5222 GB, free: 14.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.4406, allocations: 133.7 kB / 0.5224 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.4407, allocations: 12 kB / 0.5224 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/0.4414, allocations: 315.2 kB / 0.5227 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4415, allocations: 0 / 0.5227 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4415, allocations: 7.938 kB / 0.5227 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4415, allocations: 7.938 kB / 0.5227 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.4426, allocations: 0.675 MB / 0.5234 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4426, allocations: 0 / 0.5234 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.4431, allocations: 59.98 kB / 0.5234 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.267e-05/0.4431, allocations: 20.84 kB / 0.5234 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.4432, allocations: 4 kB / 0.5234 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.4443, allocations: 1.368 MB / 0.5248 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4443, allocations: 0 / 0.5248 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000871/0.4452, allocations: 446.8 kB / 0.5252 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.4453, allocations: 88.95 kB / 0.5253 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.4454, allocations: 7.984 kB / 0.5253 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.4457, allocations: 11.94 kB / 0.5253 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.4457, allocations: 24.02 kB / 0.5253 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.4458, allocations: 11.94 kB / 0.5253 GB, free: 11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.4458, allocations: 91.27 kB / 0.5254 GB, free: 10.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4458, allocations: 0 / 0.5254 GB, free: 10.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007962/0.4466, allocations: 127.9 kB / 0.5255 GB, free: 10.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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.0006476/0.4473, allocations: 251 kB / 0.5258 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006643/0.448, allocations: 239.8 kB / 0.526 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.448, allocations: 0 / 0.526 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.4484, allocations: 230.6 kB / 0.5262 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.4489, allocations: 60.48 kB / 0.5263 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/0.4499, allocations: 473 kB / 0.5267 GB, free: 9.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4502, allocations: 0.7046 MB / 0.5274 GB, free: 8.781 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.4505, allocations: 61.31 kB / 0.5275 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4507, allocations: 23.42 kB / 0.5275 GB, free: 8.699 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4507, allocations: 0 / 0.5275 GB, free: 8.699 MB / 462.1 MB Notification: Performance of Templates: time 0.01103/0.4617, allocations: 6.317 MB / 0.5337 GB, free: 2.375 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)