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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.467/1.467, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001197/0.001197, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1953, allocations: 46.64 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02572/0.221, allocations: 27.05 MB / 352.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.2256, allocations: 4.151 MB / 356.5 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.2258, allocations: 4 kB / 356.5 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.2264, allocations: 210.7 kB / 356.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.227, allocations: 338.1 kB / 357 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.2307, allocations: 1.471 MB / 358.5 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008744/0.2316, allocations: 0.8796 MB / 359.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.2318, allocations: 104.6 kB / 359.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005546/0.2373, allocations: 4.049 MB / 363.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.2377, allocations: 278.9 kB / 363.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.2378, allocations: 32 kB / 363.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.2392, allocations: 0.7259 MB / 364.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2393, allocations: 99.7 kB / 364.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.2395, allocations: 199.2 kB / 364.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.2406, allocations: 0.834 MB / 365.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2406, allocations: 4 kB / 365.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2406, allocations: 0 / 365.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2406, allocations: 0 / 365.7 MB, free: 11.39 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.0008691/0.2415, allocations: 0.6471 MB / 366.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2416, allocations: 8.031 kB / 366.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.242, allocations: 60.53 kB / 366.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.2423, allocations: 291.7 kB / 366.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2424, allocations: 20.94 kB / 366.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.2424, allocations: 28.38 kB / 366.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.2429, allocations: 342.6 kB / 367.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2429, allocations: 4 kB / 367.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.243, allocations: 12 kB / 367.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.243, allocations: 4 kB / 367.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.2433, allocations: 214 kB / 367.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.2559, allocations: 5.919 MB / 373.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.2562, allocations: 182.6 kB / 373.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2563, allocations: 88.83 kB / 373.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.2668, allocations: 3.873 MB / 377.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.2668, allocations: 34.56 kB / 377.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.375e-06/0.2668, allocations: 3.938 kB / 377.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006321/0.2732, allocations: 1.418 MB / 378.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2732, allocations: 59.39 kB / 378.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.2735, allocations: 258.5 kB / 379.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.2736, allocations: 37.64 kB / 379.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2737, allocations: 176.2 kB / 379.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.2738, allocations: 98.64 kB / 379.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.546e-05/0.2739, allocations: 65.61 kB / 379.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.274, allocations: 338.8 kB / 379.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2742, allocations: 95.95 kB / 379.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2744, allocations: 182.7 kB / 380.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.2748, allocations: 303 kB / 380.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2748, allocations: 0 / 380.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006756/0.2755, allocations: 406.7 kB / 380.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2755, allocations: 4 kB / 380.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2755, allocations: 4 kB / 380.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/0.2797, allocations: 0.9342 MB / 381.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.28, allocations: 71.91 kB / 381.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.2816, allocations: 1.978 MB / 383.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.2818, allocations: 8.031 kB / 383.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2818, allocations: 16 kB / 383.8 MB, free: 7.93 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.0001988/0.282, allocations: 158 kB / 384 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.2821, allocations: 27.66 kB / 384 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.2829, allocations: 498.5 kB / 384.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.2829, allocations: 11.92 kB / 384.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2829, allocations: 4 kB / 384.5 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006618/0.2836, allocations: 0.7082 MB / 385.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.2849, allocations: 0.9528 MB / 386.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2849, allocations: 4 kB / 386.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.2851, allocations: 43.97 kB / 386.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.2869, allocations: 324.3 kB / 386.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2869, allocations: 11.94 kB / 386.5 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004956/0.2874, allocations: 0.6421 MB / 387.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2874, allocations: 4.031 kB / 387.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009093/0.2883, allocations: 0.7204 MB / 387.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.2884, allocations: 108.8 kB / 388 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.2885, allocations: 4 kB / 388 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2887, allocations: 8 kB / 388 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2887, allocations: 19.97 kB / 388 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.2887, allocations: 8 kB / 388.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.2889, allocations: 190 kB / 388.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2889, allocations: 0 / 388.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.2896, allocations: 187.9 kB / 388.4 MB, free: 3.086 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.0005801/0.2902, allocations: 266.9 kB / 388.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008113/0.291, allocations: 459.1 kB / 389.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.291, allocations: 0 / 389.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.2915, allocations: 231.8 kB / 389.4 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.2925, allocations: 184.1 kB / 389.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.2937, allocations: 0.7964 MB / 390.3 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.2941, allocations: 0.7799 MB / 391.1 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.2944, allocations: 46.95 kB / 391.2 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.2944, allocations: 23.44 kB / 391.2 MB, free: 256 kB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2944, allocations: 8 kB / 391.2 MB, free: 248 kB / 318.1 MB Notification: Performance of Templates: time 0.01628/0.3107, allocations: 9.936 MB / 401.1 MB, free: 6.297 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)