Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005984/0.005984, allocations: 99.3 kB / 15.73 MB, free: 6.047 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.001207/0.001207, allocations: 186.1 kB / 16.67 MB, free: 5.977 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.364/1.364, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.001236/0.001236, allocations: 46.36 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08641, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06891/0.1554, allocations: 65.72 MB / 438.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.162, allocations: 5.464 MB / 444.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.1623, allocations: 8 kB / 444.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009143/0.1633, allocations: 353.9 kB / 444.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000852/0.1641, allocations: 0.5049 MB / 445.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.1812, allocations: 7.076 MB / 452.3 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002169/0.1834, allocations: 1.547 MB / 453.9 MB, free: 364 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.1838, allocations: 216.8 kB / 454.1 MB, free: 140 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1933/0.3771, allocations: 0.6265 MB / 454.7 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.3782, allocations: 0.5644 MB / 455.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.3784, allocations: 82.59 kB / 455.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.3951, allocations: 10.1 MB / 465.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005535/0.3957, allocations: 320.6 kB / 465.7 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.3964, allocations: 439.3 kB / 466.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.4085, allocations: 5.921 MB / 472.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4086, allocations: 1.094 kB / 472.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4086, allocations: 0 / 472.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.4086, allocations: 2.75 kB / 472.1 MB, free: 6.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003715/0.4123, allocations: 1.548 MB / 473.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4124, allocations: 12.66 kB / 473.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.4128, allocations: 80.48 kB / 473.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.4134, allocations: 449.2 kB / 474.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.4134, allocations: 43.44 kB / 474.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.4135, allocations: 66.75 kB / 474.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.4151, allocations: 0.811 MB / 475.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4151, allocations: 0 / 475.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.4152, allocations: 28.2 kB / 475.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4152, allocations: 13.91 kB / 475.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.4168, allocations: 1.029 MB / 476.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.4324, allocations: 12.78 MB / 488.9 MB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.434, allocations: 0.7404 MB / 489.7 MB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.4345, allocations: 405.7 kB / 490.1 MB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/0.4482, allocations: 12.24 MB / 0.4906 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.4482, allocations: 47.05 kB / 0.4906 GB, free: 12.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/0.4483, allocations: 4 kB / 0.4906 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009277/0.4575, allocations: 3.372 MB / 0.4939 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4576, allocations: 69.91 kB / 0.494 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.458, allocations: 361.4 kB / 0.4943 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/0.4581, allocations: 46.58 kB / 0.4944 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4582, allocations: 238.3 kB / 0.4946 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.4583, allocations: 308.1 kB / 0.4949 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.4586, allocations: 156 kB / 0.495 GB, free: 11.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4587, allocations: 362.6 kB / 0.4954 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.4593, allocations: 369.5 kB / 0.4957 GB, free: 10.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/0.46, allocations: 495.6 kB / 0.4962 GB, free: 10.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.4615, allocations: 0.9038 MB / 0.4971 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4615, allocations: 3.938 kB / 0.4971 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002364/0.4639, allocations: 1.117 MB / 0.4982 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4639, allocations: 6.812 kB / 0.4982 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4639, allocations: 2.688 kB / 0.4982 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007921/0.4647, allocations: 166 kB / 0.4983 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.4655, allocations: 190 kB / 0.4985 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.4681, allocations: 4.124 MB / 0.5025 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.4686, allocations: 18.81 kB / 0.5026 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.4687, allocations: 42.8 kB / 0.5026 GB, free: 6.078 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003461/0.469, allocations: 231.5 kB / 0.5028 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.4694, allocations: 69.28 kB / 0.5029 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.4716, allocations: 1.274 MB / 0.5041 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4716, allocations: 7.656 kB / 0.5041 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4716, allocations: 0 / 0.5041 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001701/0.4733, allocations: 1.324 MB / 0.5054 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.4766, allocations: 1.968 MB / 0.5074 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4766, allocations: 4 kB / 0.5074 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.4773, allocations: 161.3 kB / 0.5075 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.479, allocations: 289.3 kB / 0.5078 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.4791, allocations: 27.98 kB / 0.5078 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007848/0.4799, allocations: 1.294 MB / 0.5091 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4799, allocations: 3.469 kB / 0.5091 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.4825, allocations: 1.419 MB / 0.5105 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.4827, allocations: 128.6 kB / 0.5106 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4828, allocations: 16 kB / 0.5106 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.4833, allocations: 31.97 kB / 0.5106 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.4835, allocations: 63.95 kB / 0.5107 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/0.4836, allocations: 43.97 kB / 0.5107 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000329/0.4839, allocations: 279 kB / 0.511 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4839, allocations: 0 / 0.511 GB, free: 14.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004941/0.4888, allocations: 1.404 MB / 0.5124 GB, free: 13.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007778/0.4966, allocations: 1.743 MB / 0.5141 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.499, allocations: 1.157 MB / 0.5152 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.499, allocations: 4 kB / 0.5152 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009449/0.5, allocations: 498.4 kB / 0.5157 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.502, allocations: 392.5 kB / 0.5161 GB, free: 9.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.5049, allocations: 1.654 MB / 0.5177 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.5054, allocations: 0.9128 MB / 0.5186 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007412/0.5061, allocations: 205.2 kB / 0.5188 GB, free: 6.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.5064, allocations: 75.41 kB / 0.5188 GB, free: 6.785 MB / 430.1 MB Notification: Performance of SimCode: time 2.044e-06/0.5064, allocations: 0 / 0.5188 GB, free: 6.785 MB / 430.1 MB Notification: Performance of Templates: time 0.07018/0.5766, allocations: 51.64 MB / 0.5693 GB, free: 3.184 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)