Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004921/0.004921, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001138/0.001138, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.001287/0.001287, allocations: 54.52 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09077, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3844/0.4752, allocations: 150.6 MB / 0.5115 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.4765, allocations: 0.9636 MB / 0.5124 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.4766, allocations: 6.188 kB / 0.5124 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.477, allocations: 34.34 kB / 0.5125 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008007/0.4778, allocations: 244.1 kB / 0.5127 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.4783, allocations: 118.2 kB / 0.5128 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.4786, allocations: 174.5 kB / 0.513 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.4787, allocations: 5.062 kB / 0.513 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.479, allocations: 86.19 kB / 0.5131 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.4791, allocations: 49.42 kB / 0.5131 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.4791, allocations: 8.75 kB / 0.5131 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.4797, allocations: 262.1 kB / 0.5134 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.4798, allocations: 23.78 kB / 0.5134 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.4799, allocations: 52.75 kB / 0.5134 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.4804, allocations: 275.2 kB / 0.5137 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4804, allocations: 0 / 0.5137 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4804, allocations: 0 / 0.5137 GB, free: 4.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4804, allocations: 0 / 0.5137 GB, free: 4.074 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007014/0.4812, allocations: 413.1 kB / 0.5141 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4812, allocations: 7.969 kB / 0.5141 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.4834, allocations: 189.8 kB / 0.5143 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.4839, allocations: 210.5 kB / 0.5145 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4839, allocations: 10.19 kB / 0.5145 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.4839, allocations: 16.41 kB / 0.5145 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.4845, allocations: 224.2 kB / 0.5147 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4845, allocations: 0 / 0.5147 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.4845, allocations: 6.906 kB / 0.5147 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4845, allocations: 2.781 kB / 0.5147 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.485, allocations: 169.5 kB / 0.5149 GB, free: 3.09 MB / 398.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.001027/0.486, allocations: 0.5768 MB / 0.5155 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.4863, allocations: 138.3 kB / 0.5156 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.4865, allocations: 70.23 kB / 0.5156 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.4865, allocations: 5.859 kB / 0.5157 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4865, allocations: 35.53 kB / 0.5157 GB, free: 2.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.4865, allocations: 4 kB / 0.5157 GB, free: 2.359 MB / 398.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.005406/0.492, allocations: 1.297 MB / 0.517 GB, free: 1.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.492, allocations: 58.16 kB / 0.517 GB, free: 1.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.4921, allocations: 111.9 kB / 0.5171 GB, free: 1.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.4922, allocations: 31.8 kB / 0.5172 GB, free: 1.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.4922, allocations: 90.86 kB / 0.5172 GB, free: 1.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.4923, allocations: 70.41 kB / 0.5173 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.4924, allocations: 56.5 kB / 0.5174 GB, free: 1.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4925, allocations: 319.6 kB / 0.5177 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.4927, allocations: 71.17 kB / 0.5177 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.4928, allocations: 109.9 kB / 0.5178 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.4932, allocations: 186 kB / 0.518 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.4932, allocations: 2.938 kB / 0.518 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004729/0.4937, allocations: 261.2 kB / 0.5183 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4937, allocations: 6.844 kB / 0.5183 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4937, allocations: 0 / 0.5183 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.4939, allocations: 50.3 kB / 0.5183 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.4942, allocations: 51.69 kB / 0.5184 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/0.4947, allocations: 0.5731 MB / 0.5189 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4949, allocations: 2.875 kB / 0.5189 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.495, allocations: 30.23 kB / 0.519 GB, free: 15.8 MB / 414.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.0001468/0.4951, allocations: 126.9 kB / 0.5191 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.4952, allocations: 10 kB / 0.5191 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.4959, allocations: 346 kB / 0.5194 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4959, allocations: 6.625 kB / 0.5194 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.496, allocations: 0 / 0.5194 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.496, allocations: 0 / 0.5194 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009398/0.4969, allocations: 0.6288 MB / 0.52 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4969, allocations: 3.406 kB / 0.52 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.4973, allocations: 65.3 kB / 0.5201 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-05/0.4973, allocations: 16.81 kB / 0.5201 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.4974, allocations: 10.84 kB / 0.5201 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009022/0.4983, allocations: 1.378 MB / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4983, allocations: 3.938 kB / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.499, allocations: 430.7 kB / 0.5219 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.499, allocations: 89.33 kB / 0.522 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.4991, allocations: 6.906 kB / 0.522 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.4993, allocations: 6.812 kB / 0.522 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.4994, allocations: 31.06 kB / 0.522 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.4994, allocations: 32.08 kB / 0.5221 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.4995, allocations: 90.61 kB / 0.5221 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4995, allocations: 0 / 0.5221 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.4999, allocations: 79.47 kB / 0.5222 GB, free: 12.92 MB / 414.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 (21): * Single equations (assignments): 20 * 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.0003426/0.5002, allocations: 142.2 kB / 0.5224 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.5007, allocations: 202 kB / 0.5225 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5007, allocations: 0 / 0.5225 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.5011, allocations: 225.4 kB / 0.5228 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.5015, allocations: 40.94 kB / 0.5228 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007883/0.5023, allocations: 486.4 kB / 0.5233 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.5026, allocations: 0.7053 MB / 0.524 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002964/0.5029, allocations: 76.52 kB / 0.524 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.503, allocations: 55.56 kB / 0.5241 GB, free: 11.4 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.503, allocations: 0 / 0.5241 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Templates: time 0.008699/0.5118, allocations: 5.632 MB / 0.5296 GB, free: 5.957 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)