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.001833/0.001833, allocations: 108 kB / 15.6 MB, free: 132 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.001787/0.001787, allocations: 197.3 kB / 16.53 MB, free: 6.391 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.534/1.534, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001421/0.001421, allocations: 43.94 kB / 278.7 MB, free: 12.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2402, allocations: 46.64 MB / 325.3 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.05024/0.2905, allocations: 27.05 MB / 352.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008921/0.2994, allocations: 4.159 MB / 356.5 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.2998, allocations: 7.938 kB / 356.5 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.3009, allocations: 202.7 kB / 356.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.3021, allocations: 330.2 kB / 357 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007598/0.3097, allocations: 1.475 MB / 358.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.3116, allocations: 0.8796 MB / 359.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.312, allocations: 100.6 kB / 359.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.3231, allocations: 4.053 MB / 363.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005552/0.3238, allocations: 278.9 kB / 363.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.991e-05/0.3239, allocations: 36 kB / 363.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.3263, allocations: 0.7181 MB / 364.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.3265, allocations: 95.72 kB / 364.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.3268, allocations: 195.2 kB / 364.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.3287, allocations: 0.8456 MB / 365.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3288, allocations: 0 / 365.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3288, allocations: 0 / 365.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3288, allocations: 0 / 365.7 MB, free: 11.43 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.001383/0.3302, allocations: 0.6471 MB / 366.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3302, allocations: 15.97 kB / 366.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.3311, allocations: 56.55 kB / 366.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.3317, allocations: 295.6 kB / 366.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.3317, allocations: 20.94 kB / 366.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.3318, allocations: 24.38 kB / 366.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.3327, allocations: 342.6 kB / 367.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.3328, allocations: 3.984 kB / 367.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.3328, allocations: 12 kB / 367.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3329, allocations: 8 kB / 367.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.3335, allocations: 206 kB / 367.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.3548, allocations: 5.927 MB / 373.2 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.3554, allocations: 178.7 kB / 373.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.3557, allocations: 88.83 kB / 373.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01496/0.3707, allocations: 3.873 MB / 377.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.3708, allocations: 42.56 kB / 377.4 MB, free: 14.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.328e-05/0.3708, allocations: 0 / 377.4 MB, free: 14.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006804/0.3776, allocations: 1.422 MB / 378.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3777, allocations: 55.41 kB / 378.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.378, allocations: 262.5 kB / 379.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.378, allocations: 29.7 kB / 379.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3781, allocations: 180.2 kB / 379.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.3782, allocations: 102.6 kB / 379.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3783, allocations: 65.61 kB / 379.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3785, allocations: 338.8 kB / 379.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3786, allocations: 91.95 kB / 379.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.3789, allocations: 186.7 kB / 380.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.3792, allocations: 299 kB / 380.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3793, allocations: 0 / 380.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007033/0.38, allocations: 402.7 kB / 380.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.38, allocations: 8 kB / 380.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.38, allocations: 4 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/0.3842, allocations: 0.9342 MB / 381.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.3845, allocations: 67.91 kB / 381.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.3862, allocations: 1.978 MB / 383.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3864, allocations: 11.94 kB / 383.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3864, allocations: 19.98 kB / 383.8 MB, free: 7.965 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.0001747/0.3866, allocations: 158.1 kB / 384 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.3867, allocations: 31.66 kB / 384 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/0.3875, allocations: 494.5 kB / 384.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3875, allocations: 8 kB / 384.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3875, allocations: 0 / 384.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00068/0.3882, allocations: 0.7121 MB / 385.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.3895, allocations: 0.9528 MB / 386.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3895, allocations: 4 kB / 386.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.3897, allocations: 47.97 kB / 386.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/0.3915, allocations: 316.3 kB / 386.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3916, allocations: 11.98 kB / 386.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005458/0.3921, allocations: 0.6421 MB / 387.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.3921, allocations: 0 / 387.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.3931, allocations: 0.728 MB / 387.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.3932, allocations: 100.8 kB / 388 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.3932, allocations: 11.98 kB / 388 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3934, allocations: 4 kB / 388 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3935, allocations: 16.11 kB / 388 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.3935, allocations: 15.98 kB / 388.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3937, allocations: 182 kB / 388.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3937, allocations: 0 / 388.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006668/0.3944, allocations: 187.9 kB / 388.4 MB, free: 3.133 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.0006081/0.395, allocations: 271 kB / 388.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008663/0.3959, allocations: 462.4 kB / 389.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3959, allocations: 0 / 389.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.3964, allocations: 236.6 kB / 389.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3974, allocations: 176.7 kB / 389.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.3987, allocations: 0.7964 MB / 390.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3991, allocations: 0.7799 MB / 391.1 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.3994, allocations: 54.92 kB / 391.2 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.3994, allocations: 27.44 kB / 391.2 MB, free: 288 kB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3994, allocations: 0 / 391.2 MB, free: 288 kB / 318.1 MB Notification: Performance of Templates: time 0.01744/0.4169, allocations: 9.928 MB / 401.1 MB, free: 6.344 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)