Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.0009021, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005379/0.005379, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.334/1.334, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004311/0.0004311, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2195, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02468/0.2442, allocations: 26.63 MB / 353.6 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004561/0.2488, allocations: 4.148 MB / 357.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.2491, allocations: 8 kB / 357.8 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.2497, allocations: 171.1 kB / 358 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.2503, allocations: 322.3 kB / 358.3 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.2547, allocations: 1.239 MB / 359.5 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2561, allocations: 1.336 MB / 360.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.2563, allocations: 72.62 kB / 360.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/0.2628, allocations: 4.211 MB / 365.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.2632, allocations: 286.8 kB / 365.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.2632, allocations: 16 kB / 365.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.2646, allocations: 0.6946 MB / 366.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2647, allocations: 75.78 kB / 366.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2649, allocations: 200.9 kB / 366.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.266, allocations: 0.822 MB / 367.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.266, allocations: 3.984 kB / 367.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.266, allocations: 0 / 367.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.266, allocations: 0 / 367.2 MB, free: 11.05 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000846/0.2669, allocations: 0.5887 MB / 367.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2669, allocations: 8.031 kB / 367.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.2673, allocations: 52.62 kB / 367.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.2677, allocations: 287.7 kB / 368.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2677, allocations: 20.94 kB / 368.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.2678, allocations: 24.38 kB / 368.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.2683, allocations: 342.6 kB / 368.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2683, allocations: 7.875 kB / 368.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.2683, allocations: 12 kB / 368.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2683, allocations: 8 kB / 368.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.2687, allocations: 214 kB / 368.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.2812, allocations: 5.912 MB / 374.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.2815, allocations: 186.6 kB / 374.9 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2817, allocations: 88.83 kB / 375 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.2922, allocations: 3.877 MB / 378.8 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2923, allocations: 30.56 kB / 378.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.2923, allocations: 0 / 378.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006321/0.2986, allocations: 1.418 MB / 380.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.2987, allocations: 55.34 kB / 380.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.2989, allocations: 262.6 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.299, allocations: 33.7 kB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2991, allocations: 188.1 kB / 380.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.2992, allocations: 98.64 kB / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.2992, allocations: 29.7 kB / 380.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2993, allocations: 338.8 kB / 381.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2995, allocations: 91.95 kB / 381.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.2997, allocations: 190.6 kB / 381.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.3001, allocations: 303 kB / 381.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3001, allocations: 0 / 381.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006762/0.3008, allocations: 403 kB / 382.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3009, allocations: 8 kB / 382.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3009, allocations: 4 kB / 382.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003573/0.3044, allocations: 397.3 kB / 382.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.3047, allocations: 75.91 kB / 382.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.3062, allocations: 1.871 MB / 384.6 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.3065, allocations: 23.92 kB / 384.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3065, allocations: 20.05 kB / 384.6 MB, free: 8.336 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.3067, allocations: 158 kB / 384.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.3068, allocations: 31.62 kB / 384.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007474/0.3075, allocations: 0.4906 MB / 385.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.3075, allocations: 12.03 kB / 385.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3076, allocations: 0 / 385.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006122/0.3082, allocations: 0.7199 MB / 386 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3094, allocations: 0.9528 MB / 387 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3094, allocations: 0 / 387 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.3096, allocations: 39.98 kB / 387 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.3114, allocations: 332.2 kB / 387.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3114, allocations: 11.98 kB / 387.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004643/0.3119, allocations: 0.6421 MB / 388 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3119, allocations: 4 kB / 388 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008974/0.3128, allocations: 0.7205 MB / 388.7 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.3129, allocations: 112.6 kB / 388.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.313, allocations: 7.938 kB / 388.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.3132, allocations: 16.12 kB / 388.8 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.3133, allocations: 15.97 kB / 388.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3133, allocations: 15.98 kB / 388.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.3135, allocations: 182 kB / 389.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3135, allocations: 0 / 389.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006781/0.3142, allocations: 187.9 kB / 389.2 MB, free: 3.457 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000569/0.3147, allocations: 263 kB / 389.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007425/0.3155, allocations: 443.2 kB / 389.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3155, allocations: 0 / 389.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.316, allocations: 235.7 kB / 390.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3171, allocations: 168.5 kB / 390.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3184, allocations: 0.976 MB / 391.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3188, allocations: 0.7837 MB / 392.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.319, allocations: 50.94 kB / 392.1 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.319, allocations: 27.44 kB / 392.2 MB, free: 468 kB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.319, allocations: 0 / 392.2 MB, free: 468 kB / 318.1 MB Notification: Performance of Templates: time 0.01601/0.3351, allocations: 9.553 MB / 401.7 MB, free: 6.898 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)