Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001464, allocations: 111.7 kB / 16.62 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.001267/0.001267, allocations: 190 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.33/1.33, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001178/0.001178, allocations: 52.14 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08153/0.08272, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05015/0.1329, allocations: 50.61 MB / 376.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1549/0.2879, allocations: 5.169 MB / 381.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.2882, allocations: 9.625 kB / 381.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.2889, allocations: 215.2 kB / 382.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006086/0.2896, allocations: 347 kB / 382.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01829/0.3079, allocations: 6.087 MB / 388.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3093, allocations: 1.097 MB / 389.7 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.3096, allocations: 148.9 kB / 389.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.3158, allocations: 3.752 MB / 393.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.3165, allocations: 423.2 kB / 394 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.3166, allocations: 58.22 kB / 394 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01638/0.333, allocations: 9.785 MB / 403.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003575/0.3334, allocations: 224.2 kB / 404 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.3339, allocations: 310.6 kB / 404.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.344, allocations: 5.597 MB / 409.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.344, allocations: 0 / 409.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.344, allocations: 0 / 409.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.344, allocations: 0 / 409.9 MB, free: 5.035 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002698/0.3467, allocations: 1.357 MB / 411.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3468, allocations: 8.031 kB / 411.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.3471, allocations: 59.52 kB / 411.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.3474, allocations: 362.8 kB / 411.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3475, allocations: 37 kB / 411.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.3475, allocations: 40 kB / 411.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3486, allocations: 0.5894 MB / 412.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3486, allocations: 0 / 412.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.3487, allocations: 20 kB / 412.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3487, allocations: 10 kB / 412.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3498, allocations: 0.7489 MB / 413.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.3646, allocations: 11.97 MB / 425.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3658, allocations: 0.5233 MB / 425.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.3662, allocations: 250.1 kB / 425.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01375/0.3799, allocations: 11.89 MB / 437.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.38, allocations: 46.98 kB / 437.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.594e-06/0.38, allocations: 0 / 437.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005734/0.3858, allocations: 2.116 MB / 439.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3858, allocations: 55.97 kB / 440 MB, free: 2.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.3862, allocations: 326.8 kB / 440.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.3863, allocations: 33.7 kB / 440.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3864, allocations: 198.7 kB / 440.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3866, allocations: 195 kB / 440.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3867, allocations: 118.1 kB / 440.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3869, allocations: 346.8 kB / 441.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.3872, allocations: 245 kB / 441.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.3879, allocations: 331.4 kB / 441.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.389, allocations: 0.608 MB / 442.4 MB, free: 460 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.389, allocations: 0 / 442.4 MB, free: 460 kB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001811/0.3908, allocations: 0.7469 MB / 443.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3908, allocations: 12 kB / 443.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3909, allocations: 3.938 kB / 443.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.3913, allocations: 110.5 kB / 443.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.3919, allocations: 120.7 kB / 443.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.3945, allocations: 3.476 MB / 446.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.395, allocations: 40.11 kB / 446.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.3951, allocations: 31.98 kB / 446.9 MB, free: 11.63 MB / 366.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.000312/0.3954, allocations: 194.6 kB / 447.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.3957, allocations: 43.53 kB / 447.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.3973, allocations: 0.8218 MB / 447.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3973, allocations: 8 kB / 448 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3973, allocations: 0 / 448 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/0.3984, allocations: 0.7626 MB / 448.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.4006, allocations: 1.295 MB / 450 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4006, allocations: 0 / 450 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.401, allocations: 100.8 kB / 450.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000876/0.4019, allocations: 144.7 kB / 450.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.402, allocations: 23.92 kB / 450.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000379/0.4023, allocations: 0.6515 MB / 450.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4024, allocations: 0 / 450.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.404, allocations: 0.9114 MB / 451.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.4041, allocations: 120.6 kB / 452 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.4042, allocations: 20.08 kB / 452 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.4047, allocations: 19.98 kB / 452 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.4047, allocations: 36.39 kB / 452 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.4048, allocations: 31.97 kB / 452.1 MB, free: 6.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002608/0.4051, allocations: 257.9 kB / 452.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4051, allocations: 0 / 452.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003718/0.4088, allocations: 1.312 MB / 453.6 MB, free: 4.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006131/0.415, allocations: 1.698 MB / 455.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.4167, allocations: 0.8582 MB / 456.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4167, allocations: 0 / 456.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.4173, allocations: 295.8 kB / 456.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.4188, allocations: 277.2 kB / 456.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.4207, allocations: 1.255 MB / 458 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.4211, allocations: 0.8326 MB / 458.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005518/0.4216, allocations: 140.3 kB / 459 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.4218, allocations: 55.42 kB / 459 MB, free: 15.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4218, allocations: 0 / 459 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Templates: time 0.05925/0.4811, allocations: 46.34 MB / 0.4935 GB, free: 1.07 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)