Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001418/0.001418, allocations: 109.1 kB / 17.06 MB, free: 6 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.0016/0.001601, allocations: 200 kB / 18.01 MB, free: 5.074 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.368/1.368, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.00113/0.00113, allocations: 47.94 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08181, allocations: 46.62 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.236/0.3178, allocations: 65.74 MB / 440.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006815/0.3247, allocations: 5.453 MB / 445.7 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.325, allocations: 8 kB / 445.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.326, allocations: 342 kB / 446 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008524/0.3268, allocations: 0.5166 MB / 446.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0206/0.3475, allocations: 7.087 MB / 453.6 MB, free: 348 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.3499, allocations: 1.543 MB / 455.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.3502, allocations: 218.3 kB / 455.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3513, allocations: 0.623 MB / 456 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.352, allocations: 0.5722 MB / 456.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.3522, allocations: 84 kB / 456.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0193/0.3715, allocations: 10.08 MB / 466.8 MB, free: 3.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.372, allocations: 323.2 kB / 467.1 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000679/0.3727, allocations: 438.4 kB / 467.5 MB, free: 2.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.3864, allocations: 5.918 MB / 473.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.3864, allocations: 3.984 kB / 473.4 MB, free: 12.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.3864, allocations: 0 / 473.4 MB, free: 12.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.3865, allocations: 0 / 473.4 MB, free: 12.51 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003642/0.3901, allocations: 1.552 MB / 475 MB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3902, allocations: 8.031 kB / 475 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.3906, allocations: 83.23 kB / 475.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.3913, allocations: 456.7 kB / 475.5 MB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.3913, allocations: 49.25 kB / 475.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.3914, allocations: 60 kB / 475.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3931, allocations: 0.8173 MB / 476.4 MB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3931, allocations: 0 / 476.4 MB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.3932, allocations: 28 kB / 476.5 MB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3932, allocations: 16 kB / 476.5 MB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.3951, allocations: 1.028 MB / 477.5 MB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.4124, allocations: 12.78 MB / 490.3 MB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.4142, allocations: 0.7374 MB / 491 MB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/0.4148, allocations: 414.6 kB / 491.4 MB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01493/0.4298, allocations: 12.23 MB / 0.4919 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.4299, allocations: 43.22 kB / 0.4919 GB, free: 9.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 5.491e-06/0.4299, allocations: 3.984 kB / 0.4919 GB, free: 9.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009825/0.4397, allocations: 3.395 MB / 0.4952 GB, free: 6.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4398, allocations: 60.41 kB / 0.4953 GB, free: 6.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.4402, allocations: 356.5 kB / 0.4956 GB, free: 5.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.4404, allocations: 45.7 kB / 0.4957 GB, free: 5.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.4405, allocations: 240.7 kB / 0.4959 GB, free: 5.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.4408, allocations: 307.5 kB / 0.4962 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.441, allocations: 158.6 kB / 0.4963 GB, free: 4.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4412, allocations: 362.8 kB / 0.4967 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.4418, allocations: 369.8 kB / 0.497 GB, free: 4.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.4428, allocations: 492.2 kB / 0.4975 GB, free: 3.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.4445, allocations: 0.9098 MB / 0.4984 GB, free: 2.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4445, allocations: 0 / 0.4984 GB, free: 2.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002541/0.447, allocations: 1.109 MB / 0.4995 GB, free: 1.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4471, allocations: 11.94 kB / 0.4995 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4471, allocations: 4 kB / 0.4995 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008331/0.4479, allocations: 163.5 kB / 0.4996 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.4487, allocations: 195.7 kB / 0.4998 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.4516, allocations: 4.109 MB / 0.5038 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.4521, allocations: 28.12 kB / 0.5039 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/0.4522, allocations: 43.98 kB / 0.5039 GB, free: 12.73 MB / 446.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.000354/0.4526, allocations: 225.6 kB / 0.5041 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.4529, allocations: 59.44 kB / 0.5042 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.4553, allocations: 1.288 MB / 0.5054 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4553, allocations: 11.98 kB / 0.5054 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4553, allocations: 0 / 0.5054 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001773/0.4571, allocations: 1.324 MB / 0.5067 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.4603, allocations: 1.968 MB / 0.5087 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4603, allocations: 0 / 0.5087 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.461, allocations: 163.8 kB / 0.5088 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.4629, allocations: 289.2 kB / 0.5091 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.4629, allocations: 27.98 kB / 0.5091 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007557/0.4637, allocations: 1.297 MB / 0.5104 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4637, allocations: 0 / 0.5104 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.4663, allocations: 1.421 MB / 0.5118 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.4665, allocations: 128.5 kB / 0.5119 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.4666, allocations: 20 kB / 0.5119 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/0.4672, allocations: 31.97 kB / 0.5119 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.4673, allocations: 52.92 kB / 0.512 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-05/0.4674, allocations: 43.97 kB / 0.512 GB, free: 4.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003263/0.4677, allocations: 279 kB / 0.5123 GB, free: 3.789 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4678, allocations: 4 kB / 0.5123 GB, free: 3.785 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004079/0.4718, allocations: 1.394 MB / 0.5137 GB, free: 2.391 MB / 446.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.005869/0.4777, allocations: 1.75 MB / 0.5154 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.4802, allocations: 1.152 MB / 0.5165 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.4802, allocations: 4 kB / 0.5165 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.4811, allocations: 499.2 kB / 0.517 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.4831, allocations: 385.6 kB / 0.5174 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.4858, allocations: 1.657 MB / 0.519 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.4863, allocations: 0.9089 MB / 0.5199 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007108/0.487, allocations: 213.1 kB / 0.5201 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.4872, allocations: 83.36 kB / 0.5201 GB, free: 11.66 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4872, allocations: 0 / 0.5201 GB, free: 11.66 MB / 462.1 MB Notification: Performance of Templates: time 0.2309/0.7182, allocations: 51.39 MB / 0.5703 GB, free: 152.3 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)