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.001468/0.001468, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001711/0.001712, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.398/1.398, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.00119/0.00119, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2207, allocations: 46.63 MB / 324.8 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02752/0.2482, allocations: 26.96 MB / 351.8 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.2527, allocations: 4.144 MB / 355.9 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.253, allocations: 0 / 355.9 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.2537, allocations: 179 kB / 356.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006386/0.2544, allocations: 334.3 kB / 356.4 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004171/0.2586, allocations: 1.297 MB / 357.7 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2596, allocations: 0.8835 MB / 358.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2598, allocations: 108.6 kB / 358.7 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.2662, allocations: 4.34 MB / 363.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.2666, allocations: 290.9 kB / 363.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.2666, allocations: 32 kB / 363.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.2684, allocations: 0.7337 MB / 364.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.2685, allocations: 91.67 kB / 364.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.2687, allocations: 191.3 kB / 364.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.27, allocations: 0.8495 MB / 365.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.27, allocations: 0 / 365.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.27, allocations: 7.938 kB / 365.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.2701, allocations: 0 / 365.3 MB, free: 11.58 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.0009571/0.271, allocations: 0.651 MB / 365.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2711, allocations: 12.03 kB / 365.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.2715, allocations: 52.55 kB / 366 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.2719, allocations: 287.7 kB / 366.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2719, allocations: 16.94 kB / 366.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.272, allocations: 32.38 kB / 366.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.2725, allocations: 342.6 kB / 366.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2725, allocations: 0 / 366.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.2726, allocations: 16 kB / 366.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2726, allocations: 8 kB / 366.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.2729, allocations: 210 kB / 366.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.2855, allocations: 5.908 MB / 372.8 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.2859, allocations: 182.6 kB / 372.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2861, allocations: 88.83 kB / 373 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.2964, allocations: 3.873 MB / 376.9 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.2965, allocations: 38.56 kB / 376.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.2965, allocations: 0 / 376.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006441/0.3029, allocations: 1.422 MB / 378.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.303, allocations: 51.41 kB / 378.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3033, allocations: 258.5 kB / 378.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3033, allocations: 33.7 kB / 378.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3034, allocations: 188.1 kB / 378.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.3035, allocations: 90.66 kB / 379 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3036, allocations: 69.59 kB / 379 MB, free: 12.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3037, allocations: 342.8 kB / 379.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3039, allocations: 87.97 kB / 379.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3041, allocations: 198.6 kB / 379.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.3045, allocations: 299 kB / 379.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3045, allocations: 0 / 379.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006374/0.3051, allocations: 398.7 kB / 380.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3052, allocations: 8 kB / 380.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3052, allocations: 0 / 380.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004346/0.3095, allocations: 0.942 MB / 381.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.3099, allocations: 71.91 kB / 381.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.3115, allocations: 1.978 MB / 383.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.3118, allocations: 32.05 kB / 383.4 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3119, allocations: 12 kB / 383.4 MB, free: 8.117 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.0002189/0.3121, allocations: 150 kB / 383.5 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.3122, allocations: 27.66 kB / 383.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.3129, allocations: 0.4946 MB / 384 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3129, allocations: 4 kB / 384.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.3129, allocations: 0 / 384.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006949/0.3136, allocations: 0.7159 MB / 384.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.3149, allocations: 0.9566 MB / 385.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.315, allocations: 0 / 385.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.3152, allocations: 51.91 kB / 385.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.3168, allocations: 312.3 kB / 386.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.3169, allocations: 11.98 kB / 386.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005361/0.3174, allocations: 0.6538 MB / 386.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3174, allocations: 3.938 kB / 386.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/0.3184, allocations: 0.7127 MB / 387.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.3185, allocations: 104.8 kB / 387.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.3186, allocations: 4.094 kB / 387.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3188, allocations: 12 kB / 387.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3188, allocations: 23.95 kB / 387.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.3189, allocations: 8 kB / 387.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3191, allocations: 198 kB / 387.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3191, allocations: 0 / 387.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000843/0.32, allocations: 183.9 kB / 388 MB, free: 3.266 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.0007058/0.3207, allocations: 264.3 kB / 388.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.3216, allocations: 467.1 kB / 388.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3216, allocations: 0 / 388.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.3221, allocations: 227.8 kB / 388.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009231/0.3231, allocations: 168.2 kB / 389.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3245, allocations: 0.9355 MB / 390 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3249, allocations: 0.776 MB / 390.8 MB, free: 380 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.3251, allocations: 50.94 kB / 390.8 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.3252, allocations: 31.42 kB / 390.9 MB, free: 300 kB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3252, allocations: 4 kB / 390.9 MB, free: 296 kB / 318.1 MB Notification: Performance of Templates: time 0.01599/0.3412, allocations: 9.869 MB / 400.7 MB, free: 6.41 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)