Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0008129/0.0008129, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009313/0.0009314, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0007023/0.0007025, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2818, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03194/0.3138, allocations: 34.62 MB / 361.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004974/0.3188, allocations: 4.283 MB / 365.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.3192, allocations: 4 kB / 365.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.32, allocations: 230.7 kB / 365.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008943/0.3209, allocations: 453.6 kB / 366 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.325, allocations: 1.288 MB / 367.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.3267, allocations: 1.616 MB / 368.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.327, allocations: 118.1 kB / 369.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.3276, allocations: 410.5 kB / 369.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.3282, allocations: 390.5 kB / 369.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.302e-05/0.3283, allocations: 27.94 kB / 369.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.3297, allocations: 0.6985 MB / 370.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3299, allocations: 107.6 kB / 370.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.33, allocations: 125.5 kB / 370.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.3309, allocations: 0.7573 MB / 371.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3309, allocations: 0 / 371.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3309, allocations: 0 / 371.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.3309, allocations: 0 / 371.6 MB, free: 6.289 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009979/0.3319, allocations: 0.69 MB / 372.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.332, allocations: 8.031 kB / 372.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/0.3326, allocations: 79.41 kB / 372.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.333, allocations: 326.2 kB / 372.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.333, allocations: 29 kB / 372.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.3331, allocations: 47.98 kB / 372.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.3338, allocations: 467.4 kB / 373.2 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3338, allocations: 8 kB / 373.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.3338, allocations: 16 kB / 373.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3339, allocations: 15.95 kB / 373.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.3343, allocations: 303.7 kB / 373.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.3468, allocations: 6.734 MB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.3473, allocations: 270.5 kB / 380.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.3475, allocations: 152.7 kB / 380.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009395/0.3569, allocations: 3.881 MB / 384.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.357, allocations: 34.56 kB / 384.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.357, allocations: 0 / 384.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01133/0.3684, allocations: 2.489 MB / 387.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.3684, allocations: 55.41 kB / 387.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.3688, allocations: 299.3 kB / 387.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.3688, allocations: 33.7 kB / 387.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.369, allocations: 220 kB / 387.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.3691, allocations: 165.7 kB / 387.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.3691, allocations: 8 kB / 387.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3692, allocations: 350.8 kB / 388.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.3695, allocations: 149.1 kB / 388.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.3698, allocations: 287.6 kB / 388.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.3702, allocations: 192.7 kB / 388.8 MB, free: 3.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3702, allocations: 3.953 kB / 388.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001031/0.3712, allocations: 0.5877 MB / 389.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3712, allocations: 4 kB / 389.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3712, allocations: 4 kB / 389.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005892/0.3771, allocations: 0.7678 MB / 390.2 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.3776, allocations: 111.8 kB / 390.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.3795, allocations: 2.463 MB / 392.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.3799, allocations: 39.95 kB / 392.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.3799, allocations: 23.94 kB / 392.8 MB, free: 15.63 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.3802, allocations: 173.8 kB / 393 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.3803, allocations: 47.48 kB / 393 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.3815, allocations: 0.8436 MB / 393.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.3815, allocations: 15.98 kB / 393.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.3815, allocations: 4 kB / 393.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009718/0.3825, allocations: 0.9572 MB / 394.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.3844, allocations: 1.488 MB / 396.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3845, allocations: 4.031 kB / 396.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.3848, allocations: 83.89 kB / 396.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.3879, allocations: 0.6334 MB / 397 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.388, allocations: 12 kB / 397 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008923/0.3889, allocations: 1.284 MB / 398.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3889, allocations: 3.938 kB / 398.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3904, allocations: 1.219 MB / 399.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3905, allocations: 120.5 kB / 399.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.3906, allocations: 8 kB / 399.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.3909, allocations: 27.92 kB / 399.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.391, allocations: 35.89 kB / 399.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.391, allocations: 19.98 kB / 399.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3912, allocations: 205.9 kB / 400 MB, free: 8.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3912, allocations: 0 / 400 MB, free: 8.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007862/0.392, allocations: 239.9 kB / 400.2 MB, free: 7.949 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006354/0.3927, allocations: 270.9 kB / 400.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.3939, allocations: 0.6875 MB / 401.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3939, allocations: 0 / 401.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.3948, allocations: 431.9 kB / 401.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.396, allocations: 245.1 kB / 401.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3981, allocations: 1.482 MB / 403.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3985, allocations: 0.84 MB / 404.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.3989, allocations: 68.34 kB / 404.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.399, allocations: 43.42 kB / 404.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.399, allocations: 0 / 404.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of Templates: time 0.02081/0.4198, allocations: 11.82 MB / 416.1 MB, free: 7.988 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)