Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001077/0.001077, 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.001173/0.001173, allocations: 198.5 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.317/1.317, allocations: 205.1 MB / 222 MB, free: 4.973 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.001181/0.001181, allocations: 43.92 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2056, allocations: 46.63 MB / 324.7 MB, free: 1.816 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02518/0.2308, allocations: 27.3 MB / 352 MB, free: 8.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004593/0.2354, allocations: 4.202 MB / 356.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.2357, allocations: 7.938 kB / 356.2 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.2364, allocations: 183.1 kB / 356.4 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005567/0.237, allocations: 322.4 kB / 356.7 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.2409, allocations: 1.239 MB / 357.9 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2421, allocations: 1.34 MB / 359.3 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.2423, allocations: 80.61 kB / 359.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007191/0.2495, allocations: 4.204 MB / 363.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.2499, allocations: 290.8 kB / 363.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.25, allocations: 16 kB / 363.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.2515, allocations: 0.7023 MB / 364.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2516, allocations: 79.72 kB / 364.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.2518, allocations: 183.2 kB / 364.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.253, allocations: 0.8299 MB / 365.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.253, allocations: 4 kB / 365.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.253, allocations: 0 / 365.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.253, allocations: 4 kB / 365.6 MB, free: 11.1 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.0009102/0.2539, allocations: 0.6433 MB / 366.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.254, allocations: 12.03 kB / 366.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/0.2544, allocations: 52.55 kB / 366.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.2548, allocations: 287.7 kB / 366.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2548, allocations: 24.88 kB / 366.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.2548, allocations: 24.38 kB / 366.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.2553, allocations: 342.6 kB / 367 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2554, allocations: 0 / 367 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.2554, allocations: 16 kB / 367 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.2554, allocations: 8 kB / 367 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.2558, allocations: 210 kB / 367.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.2694, allocations: 5.916 MB / 373.1 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2698, allocations: 178.6 kB / 373.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.27, allocations: 88.83 kB / 373.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.281, allocations: 3.885 MB / 377.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.2811, allocations: 38.5 kB / 377.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.534e-06/0.2811, allocations: 0 / 377.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006417/0.2875, allocations: 1.41 MB / 378.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2876, allocations: 55.41 kB / 378.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.2879, allocations: 262.5 kB / 379 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.2879, allocations: 33.7 kB / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.288, allocations: 184.2 kB / 379.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.2881, allocations: 94.64 kB / 379.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.2882, allocations: 69.55 kB / 379.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2884, allocations: 338.8 kB / 379.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2885, allocations: 91.97 kB / 379.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2888, allocations: 194.7 kB / 380 MB, free: 11.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.2892, allocations: 299 kB / 380.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2892, allocations: 0 / 380.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006826/0.2899, allocations: 394.7 kB / 380.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2899, allocations: 8.375 kB / 380.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2899, allocations: 8 kB / 380.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.2942, allocations: 0.9338 MB / 381.7 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.2945, allocations: 67.91 kB / 381.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.2961, allocations: 1.887 MB / 383.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.2964, allocations: 16 kB / 383.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2965, allocations: 20 kB / 383.6 MB, free: 7.754 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.0001965/0.2967, allocations: 158 kB / 383.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.2967, allocations: 23.72 kB / 383.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.2975, allocations: 0.4984 MB / 384.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2975, allocations: 0 / 384.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2975, allocations: 7.938 kB / 384.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006391/0.2982, allocations: 0.7159 MB / 385 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.2995, allocations: 0.9413 MB / 386 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2995, allocations: 0 / 386 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.2997, allocations: 51.95 kB / 386 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3015, allocations: 312.3 kB / 386.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.3015, allocations: 8 kB / 386.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004962/0.302, allocations: 0.6498 MB / 387 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.302, allocations: 4.031 kB / 387 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009149/0.3029, allocations: 0.7164 MB / 387.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3031, allocations: 112.6 kB / 387.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.3031, allocations: 7.938 kB / 387.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.3033, allocations: 20.11 kB / 387.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.3034, allocations: 19.91 kB / 387.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.3034, allocations: 12 kB / 387.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3036, allocations: 182 kB / 388.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3036, allocations: 4 kB / 388.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000691/0.3043, allocations: 183.9 kB / 388.3 MB, free: 2.902 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.0006385/0.3049, allocations: 275.1 kB / 388.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.3057, allocations: 447.1 kB / 389 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3057, allocations: 0 / 389 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.3063, allocations: 231.8 kB / 389.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.3072, allocations: 156.5 kB / 389.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3086, allocations: 0.9213 MB / 390.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.309, allocations: 0.7837 MB / 391 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00025/0.3092, allocations: 58.92 kB / 391.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.3093, allocations: 27.44 kB / 391.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3093, allocations: 0 / 391.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Templates: time 0.01678/0.3261, allocations: 9.596 MB / 400.7 MB, free: 6.348 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)