Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0009676/0.0009676, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001309/0.001309, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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.4 MB / 222.1 MB, free: 5.637 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.0004152/0.0004152, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 47.6 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04921/0.2522, allocations: 46.84 MB / 373.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.2579, allocations: 4.849 MB / 378.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.2582, allocations: 0 / 378.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.2588, allocations: 167 kB / 378.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007097/0.2596, allocations: 346.2 kB / 378.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.2728, allocations: 4.957 MB / 383.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.2744, allocations: 1.333 MB / 385 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.2747, allocations: 105.5 kB / 385.1 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009182/0.2839, allocations: 6.116 MB / 391.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006254/0.2846, allocations: 390.7 kB / 391.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.13e-05/0.2847, allocations: 28 kB / 391.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01474/0.2994, allocations: 8.388 MB / 400 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.2998, allocations: 191.5 kB / 400.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.3001, allocations: 125.5 kB / 400.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.3068, allocations: 3.54 MB / 403.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3068, allocations: 0 / 403.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3068, allocations: 0 / 403.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.3068, allocations: 3.938 kB / 403.8 MB, free: 5.973 MB / 334.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.003172/0.31, allocations: 1.244 MB / 405.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3101, allocations: 8.031 kB / 405.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.3104, allocations: 59.42 kB / 405.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.3109, allocations: 362 kB / 405.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.311, allocations: 33 kB / 405.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.3111, allocations: 44 kB / 405.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3124, allocations: 0.5765 MB / 406.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3124, allocations: 0 / 406.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.3125, allocations: 23.94 kB / 406.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3125, allocations: 12 kB / 406.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.3139, allocations: 0.7456 MB / 406.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.3295, allocations: 12.01 MB / 418.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.3309, allocations: 0.5317 MB / 419.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.3313, allocations: 262 kB / 419.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01379/0.3451, allocations: 11.94 MB / 431.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.3452, allocations: 50.95 kB / 431.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.314e-06/0.3452, allocations: 0 / 431.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.005872/0.3511, allocations: 2.12 MB / 433.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3512, allocations: 55.97 kB / 433.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.3515, allocations: 318.8 kB / 434.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.3516, allocations: 45.64 kB / 434.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3517, allocations: 204.3 kB / 434.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3519, allocations: 193.2 kB / 434.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.3519, allocations: 12 kB / 434.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3521, allocations: 346.8 kB / 435 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.3525, allocations: 241 kB / 435.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.3531, allocations: 335.4 kB / 435.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.3537, allocations: 292.6 kB / 435.8 MB, free: 1.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3537, allocations: 0 / 435.8 MB, free: 1.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001733/0.3554, allocations: 0.7439 MB / 436.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3555, allocations: 8 kB / 436.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3555, allocations: 0 / 436.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/0.3559, allocations: 106.8 kB / 436.7 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.3564, allocations: 131.8 kB / 436.8 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.3587, allocations: 3.271 MB / 440.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.3591, allocations: 44.05 kB / 440.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.3591, allocations: 35.98 kB / 440.2 MB, free: 12.65 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.3594, allocations: 189.6 kB / 440.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.3597, allocations: 43.56 kB / 440.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.3612, allocations: 0.8266 MB / 441.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.3612, allocations: 8 kB / 441.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3612, allocations: 0 / 441.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.3623, allocations: 0.7596 MB / 442 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.3643, allocations: 1.305 MB / 443.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3643, allocations: 4 kB / 443.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.3647, allocations: 95.89 kB / 443.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/0.3656, allocations: 148.7 kB / 443.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.3657, allocations: 19.98 kB / 443.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/0.366, allocations: 0.6445 MB / 444.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3661, allocations: 4.031 kB / 444.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3676, allocations: 0.8964 MB / 445.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3678, allocations: 128.8 kB / 445.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.3678, allocations: 12 kB / 445.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.3682, allocations: 44 kB / 445.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.3683, allocations: 36.38 kB / 445.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.3684, allocations: 35.92 kB / 445.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.3686, allocations: 249.9 kB / 445.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3687, allocations: 4 kB / 445.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003349/0.372, allocations: 1.304 MB / 446.9 MB, free: 5.66 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004829/0.3769, allocations: 1.566 MB / 448.5 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.3784, allocations: 0.7963 MB / 449.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3784, allocations: 0 / 449.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.379, allocations: 287.2 kB / 449.5 MB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.3803, allocations: 265.6 kB / 449.8 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.3822, allocations: 1.305 MB / 451.1 MB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.3826, allocations: 0.8365 MB / 451.9 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005641/0.3832, allocations: 144.3 kB / 452.1 MB, free: 372 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3833, allocations: 55.42 kB / 452.1 MB, free: 320 kB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3834, allocations: 4 kB / 452.1 MB, free: 316 kB / 382.1 MB Notification: Performance of Templates: time 0.1872/0.5706, allocations: 45.71 MB / 497.9 MB, free: 79.3 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)