Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001485/0.001485, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001619/0.001619, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.358/1.358, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001283/0.001283, allocations: 51.92 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09468, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3261/0.4208, allocations: 148.5 MB / 474.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.4221, allocations: 0.9727 MB / 475.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.4222, allocations: 0 / 475.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.4225, allocations: 27.89 kB / 475.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006437/0.4231, allocations: 223.4 kB / 475.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.4235, allocations: 99.8 kB / 475.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.4237, allocations: 163.3 kB / 476.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.4238, allocations: 11.98 kB / 476.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.424, allocations: 83.64 kB / 476.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.4241, allocations: 51.83 kB / 476.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.4241, allocations: 8 kB / 476.2 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005193/0.4246, allocations: 271.7 kB / 476.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.4247, allocations: 31.83 kB / 476.5 MB, free: 1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.4248, allocations: 47.8 kB / 476.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.4252, allocations: 288.9 kB / 476.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4252, allocations: 0 / 476.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4253, allocations: 0 / 476.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4253, allocations: 4 kB / 476.9 MB, free: 0.668 MB / 366.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.0005361/0.4258, allocations: 403.9 kB / 477.3 MB, free: 232 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.4259, allocations: 12.03 kB / 477.3 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.428, allocations: 193.1 kB / 477.5 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4282, allocations: 208.4 kB / 477.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4282, allocations: 11.94 kB / 477.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.4283, allocations: 7.469 kB / 477.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.4288, allocations: 220.1 kB / 477.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4289, allocations: 3.938 kB / 477.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.4289, allocations: 8 kB / 477.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4289, allocations: 0 / 477.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.4294, allocations: 171.8 kB / 478.1 MB, free: 15.36 MB / 382.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.001055/0.4304, allocations: 0.5883 MB / 478.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.4308, allocations: 135.1 kB / 478.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.4309, allocations: 71.09 kB / 478.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.431, allocations: 3.984 kB / 478.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.431, allocations: 38.56 kB / 478.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.431, allocations: 0 / 478.9 MB, free: 14.45 MB / 382.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.005499/0.4365, allocations: 1.305 MB / 480.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4366, allocations: 55.41 kB / 480.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4367, allocations: 113.8 kB / 480.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.4367, allocations: 29.7 kB / 480.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.4368, allocations: 95.94 kB / 480.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.4369, allocations: 66.98 kB / 480.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.437, allocations: 61.59 kB / 480.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4371, allocations: 322.8 kB / 480.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4373, allocations: 63.97 kB / 481 MB, free: 12.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.4374, allocations: 107.4 kB / 481.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.4378, allocations: 183.3 kB / 481.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4378, allocations: 0 / 481.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000488/0.4383, allocations: 262.1 kB / 481.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4383, allocations: 4 kB / 481.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4383, allocations: 4 kB / 481.5 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.4385, allocations: 48.83 kB / 481.6 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.4389, allocations: 59.89 kB / 481.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000444/0.4393, allocations: 0.5641 MB / 482.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.4395, allocations: 11.97 kB / 482.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.4396, allocations: 27.88 kB / 482.3 MB, free: 10.89 MB / 382.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.0001303/0.4397, allocations: 125.8 kB / 482.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.4398, allocations: 11.91 kB / 482.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008522/0.4406, allocations: 347.3 kB / 482.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4407, allocations: 7.938 kB / 482.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.4407, allocations: 0 / 482.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4407, allocations: 3.984 kB / 482.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.4417, allocations: 0.6313 MB / 483.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4417, allocations: 0 / 483.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.4421, allocations: 55.95 kB / 483.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.766e-05/0.4422, allocations: 24.78 kB / 483.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.4422, allocations: 15.98 kB / 483.5 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008687/0.4431, allocations: 1.369 MB / 484.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4431, allocations: 4.156 kB / 484.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.4438, allocations: 430.6 kB / 485.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.4438, allocations: 92.97 kB / 485.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.4439, allocations: 12.06 kB / 485.4 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4441, allocations: 15.92 kB / 485.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.4442, allocations: 19.97 kB / 485.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.4442, allocations: 28 kB / 485.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.489e-05/0.4443, allocations: 87.27 kB / 485.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4443, allocations: 0 / 485.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.4447, allocations: 76 kB / 485.6 MB, free: 7.293 MB / 382.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.0003954/0.4452, allocations: 151.2 kB / 485.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005222/0.4457, allocations: 216.3 kB / 485.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4457, allocations: 0 / 485.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.446, allocations: 226.4 kB / 486.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.4465, allocations: 49.7 kB / 486.2 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.4474, allocations: 0.5041 MB / 486.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4476, allocations: 0.7123 MB / 487.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004456/0.4481, allocations: 77.61 kB / 487.5 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.4483, allocations: 59.39 kB / 487.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4483, allocations: 0 / 487.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of Templates: time 0.009623/0.4579, allocations: 5.584 MB / 493.1 MB, free: 15.65 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)