Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 104.2 kB / 17.06 MB, free: 6.023 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.001597/0.001597, allocations: 199.9 kB / 18 MB, free: 5.102 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.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001867/0.001867, allocations: 51.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1266, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2062/0.3329, allocations: 37.45 MB / 411.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005898/0.3388, allocations: 4.576 MB / 416.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003828/0.3392, allocations: 9.656 kB / 416.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.3401, allocations: 292.5 kB / 416.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009148/0.3411, allocations: 491.7 kB / 417.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00581/0.3469, allocations: 1.648 MB / 418.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.3485, allocations: 1.266 MB / 420.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.3488, allocations: 166.1 kB / 420.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006298/0.3495, allocations: 480.2 kB / 420.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.35, allocations: 410.5 kB / 421.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.3501, allocations: 45.84 kB / 421.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.3519, allocations: 0.754 MB / 422 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.3521, allocations: 133.2 kB / 422.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.3524, allocations: 274.2 kB / 422.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.3537, allocations: 1.054 MB / 423.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3538, allocations: 0 / 423.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3538, allocations: 4 kB / 423.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3538, allocations: 4.969 kB / 423.5 MB, free: 12.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00119/0.355, allocations: 0.7692 MB / 424.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.355, allocations: 12.86 kB / 424.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.3556, allocations: 78.75 kB / 424.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.3562, allocations: 352.5 kB / 424.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3562, allocations: 28.66 kB / 424.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.3563, allocations: 42.52 kB / 424.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.3569, allocations: 471.3 kB / 425.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.357, allocations: 11.92 kB / 425.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.357, allocations: 19.59 kB / 425.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.357, allocations: 10.16 kB / 425.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.3575, allocations: 305.1 kB / 425.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.371, allocations: 6.726 MB / 432.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.3715, allocations: 275.2 kB / 432.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3717, allocations: 156.8 kB / 432.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/0.3819, allocations: 3.885 MB / 436.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.382, allocations: 38.56 kB / 436.6 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.895e-06/0.382, allocations: 0 / 436.6 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01148/0.3935, allocations: 2.451 MB / 439.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3935, allocations: 59.34 kB / 439.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.3939, allocations: 299.3 kB / 439.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3939, allocations: 33.7 kB / 439.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.394, allocations: 227.9 kB / 439.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3942, allocations: 161.7 kB / 439.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3943, allocations: 94.25 kB / 440 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3944, allocations: 346.8 kB / 440.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.3947, allocations: 151.6 kB / 440.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.395, allocations: 279.7 kB / 440.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.3956, allocations: 468.3 kB / 441.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3957, allocations: 7.984 kB / 441.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001018/0.3967, allocations: 0.5877 MB / 441.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3967, allocations: 7.938 kB / 441.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3967, allocations: 4.469 kB / 441.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007411/0.4042, allocations: 1.859 MB / 443.6 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.4046, allocations: 111.8 kB / 443.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.4067, allocations: 2.558 MB / 446.3 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.4071, allocations: 16.12 kB / 446.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.4071, allocations: 23.98 kB / 446.3 MB, free: 6.285 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.4074, allocations: 178.5 kB / 446.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.4075, allocations: 43.47 kB / 446.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.4087, allocations: 0.8474 MB / 447.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4087, allocations: 19.98 kB / 447.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.4087, allocations: 0 / 447.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000935/0.4096, allocations: 0.9535 MB / 448.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.4116, allocations: 1.482 MB / 449.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4116, allocations: 3.938 kB / 449.9 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.4119, allocations: 80.45 kB / 449.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.4151, allocations: 0.6256 MB / 450.6 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.4152, allocations: 12 kB / 450.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009646/0.4161, allocations: 1.289 MB / 451.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4162, allocations: 0 / 451.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.4177, allocations: 1.213 MB / 453.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.418, allocations: 120.5 kB / 453.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.418, allocations: 12 kB / 453.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.4183, allocations: 12.69 kB / 453.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.4183, allocations: 27.89 kB / 453.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.4184, allocations: 16 kB / 453.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.4186, allocations: 217.9 kB / 453.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4186, allocations: 4 kB / 453.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009462/0.4196, allocations: 227.9 kB / 453.7 MB, free: 14.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000597/0.4202, allocations: 282.9 kB / 454 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.4214, allocations: 0.7023 MB / 454.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4214, allocations: 3.938 kB / 454.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008411/0.4222, allocations: 441.1 kB / 455.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.4234, allocations: 237.3 kB / 455.4 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4252, allocations: 1.214 MB / 456.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.4256, allocations: 0.8402 MB / 457.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.4259, allocations: 68.34 kB / 457.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.4259, allocations: 35.44 kB / 457.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.426, allocations: 3.938 kB / 457.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01909/0.4451, allocations: 12.93 MB / 470.4 MB, free: 13.83 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)