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.001509/0.001509, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001718/0.001718, allocations: 191 kB / 16.14 MB, free: 6.707 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.341/1.341, allocations: 205.1 MB / 222 MB, free: 4.773 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.001133/0.001133, allocations: 47.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2125, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02548/0.238, allocations: 27.3 MB / 352 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.2429, allocations: 4.198 MB / 356.2 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.2431, allocations: 7.938 kB / 356.2 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.2439, allocations: 183 kB / 356.4 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005978/0.2445, allocations: 330.3 kB / 356.7 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004346/0.2489, allocations: 1.235 MB / 357.9 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.2504, allocations: 1.332 MB / 359.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2506, allocations: 84.61 kB / 359.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007496/0.2581, allocations: 4.204 MB / 363.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.2585, allocations: 286.8 kB / 363.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.2586, allocations: 20 kB / 363.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.26, allocations: 0.6907 MB / 364.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2602, allocations: 95.64 kB / 364.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.2604, allocations: 175.3 kB / 364.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.2616, allocations: 0.83 MB / 365.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2616, allocations: 4 kB / 365.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2616, allocations: 3.938 kB / 365.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2616, allocations: 0 / 365.6 MB, free: 11.08 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.0009228/0.2625, allocations: 0.6472 MB / 366.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2626, allocations: 8.031 kB / 366.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.263, allocations: 60.53 kB / 366.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.2634, allocations: 283.7 kB / 366.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2634, allocations: 20.94 kB / 366.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.2635, allocations: 32.38 kB / 366.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.264, allocations: 338.6 kB / 367 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.264, allocations: 4 kB / 367 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.264, allocations: 12 kB / 367 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.264, allocations: 8 kB / 367 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.2644, allocations: 214 kB / 367.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.2775, allocations: 5.908 MB / 373.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.2778, allocations: 182.6 kB / 373.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.278, allocations: 88.83 kB / 373.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.2889, allocations: 3.885 MB / 377.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.289, allocations: 38.56 kB / 377.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.289, allocations: 0 / 377.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006551/0.2955, allocations: 1.41 MB / 378.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.2956, allocations: 55.41 kB / 378.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.2959, allocations: 262.5 kB / 379 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.2959, allocations: 33.7 kB / 379.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.296, allocations: 180.1 kB / 379.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.2961, allocations: 94.66 kB / 379.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2962, allocations: 69.61 kB / 379.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2963, allocations: 334.8 kB / 379.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.2965, allocations: 95.95 kB / 379.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2967, allocations: 186.6 kB / 380 MB, free: 11.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.2971, allocations: 307 kB / 380.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2972, allocations: 0 / 380.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007072/0.2979, allocations: 398.7 kB / 380.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2979, allocations: 4 kB / 380.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2979, allocations: 4 kB / 380.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.3023, allocations: 0.942 MB / 381.7 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.3026, allocations: 67.91 kB / 381.7 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.3041, allocations: 1.883 MB / 383.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3044, allocations: 23.92 kB / 383.6 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.3045, allocations: 16 kB / 383.6 MB, free: 7.727 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.000208/0.3047, allocations: 154 kB / 383.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/0.3048, allocations: 31.77 kB / 383.8 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.3055, allocations: 0.4906 MB / 384.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3055, allocations: 7.984 kB / 384.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.3055, allocations: 0 / 384.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006424/0.3062, allocations: 0.7159 MB / 385 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3075, allocations: 0.953 MB / 386 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3075, allocations: 0 / 386 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.3077, allocations: 43.92 kB / 386 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.3095, allocations: 320.4 kB / 386.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.3095, allocations: 12 kB / 386.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005262/0.3101, allocations: 0.6459 MB / 387 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3101, allocations: 0 / 387 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.311, allocations: 0.7164 MB / 387.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3111, allocations: 108.7 kB / 387.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.3112, allocations: 11.94 kB / 387.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3114, allocations: 11.98 kB / 387.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.3115, allocations: 20.05 kB / 387.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3115, allocations: 15.92 kB / 387.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.3117, allocations: 185.9 kB / 388.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3117, allocations: 0 / 388.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.3124, allocations: 187.9 kB / 388.3 MB, free: 2.871 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.0006332/0.313, allocations: 263 kB / 388.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008397/0.3139, allocations: 450.7 kB / 389 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3139, allocations: 0 / 389 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.3144, allocations: 232.3 kB / 389.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3155, allocations: 164.4 kB / 389.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3168, allocations: 0.9218 MB / 390.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3172, allocations: 0.7915 MB / 391.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.3174, allocations: 46.94 kB / 391.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.3175, allocations: 31.44 kB / 391.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3175, allocations: 0 / 391.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Templates: time 0.01647/0.334, allocations: 9.6 MB / 400.7 MB, free: 6.312 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)