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.001467/0.001467, allocations: 102.1 kB / 16.5 MB, free: 6.688 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.001658/0.001658, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.314/1.314, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001249/0.001249, allocations: 47.92 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08725, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03586/0.1232, allocations: 37.7 MB / 363.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005958/0.1291, allocations: 4.619 MB / 368.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.1296, allocations: 4 kB / 368.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009247/0.1306, allocations: 250.7 kB / 368.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.1315, allocations: 473.6 kB / 369 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.1358, allocations: 1.393 MB / 370.4 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.1378, allocations: 1.959 MB / 372.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.138, allocations: 134.4 kB / 372.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.1386, allocations: 402.5 kB / 372.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.1391, allocations: 426.3 kB / 373.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.1391, allocations: 28 kB / 373.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.1407, allocations: 0.718 MB / 374 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1408, allocations: 115.5 kB / 374.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.1411, allocations: 255 kB / 374.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1423, allocations: 1.033 MB / 375.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1424, allocations: 0 / 375.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1424, allocations: 3.938 kB / 375.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1424, allocations: 0 / 375.4 MB, free: 3.242 MB / 318.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.001087/0.1435, allocations: 0.7721 MB / 376.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1435, allocations: 8.031 kB / 376.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/0.1442, allocations: 84.34 kB / 376.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.1446, allocations: 339.3 kB / 376.6 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.1447, allocations: 29.38 kB / 376.6 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1448, allocations: 48.36 kB / 376.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.1455, allocations: 471.6 kB / 377.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1455, allocations: 4 kB / 377.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1456, allocations: 20 kB / 377.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1456, allocations: 11.98 kB / 377.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.1461, allocations: 303.7 kB / 377.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1541/0.3001, allocations: 6.723 MB / 384.2 MB, free: 54.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.3007, allocations: 271.8 kB / 384.5 MB, free: 54.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3009, allocations: 159.5 kB / 384.6 MB, free: 54.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3115, allocations: 3.889 MB / 388.5 MB, free: 52.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3115, allocations: 37.69 kB / 388.6 MB, free: 52.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.805e-06/0.3115, allocations: 0.6562 kB / 388.6 MB, free: 52.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01179/0.3233, allocations: 2.448 MB / 391 MB, free: 51.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.3234, allocations: 58.78 kB / 391.1 MB, free: 51.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3237, allocations: 304.1 kB / 391.4 MB, free: 51.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3237, allocations: 35.17 kB / 391.4 MB, free: 51.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.3238, allocations: 231 kB / 391.6 MB, free: 50.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.3239, allocations: 156.8 kB / 391.8 MB, free: 50.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.3241, allocations: 100.7 kB / 391.9 MB, free: 50.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.3241, allocations: 347.8 kB / 392.2 MB, free: 50.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.3244, allocations: 154 kB / 392.4 MB, free: 50.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.3247, allocations: 275.3 kB / 392.6 MB, free: 50.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.3253, allocations: 475.1 kB / 393.1 MB, free: 49.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3253, allocations: 1.156 kB / 393.1 MB, free: 49.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009592/0.3263, allocations: 0.5925 MB / 393.7 MB, free: 49.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3263, allocations: 7.938 kB / 393.7 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3263, allocations: 7.922 kB / 393.7 MB, free: 49.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00784/0.3341, allocations: 1.847 MB / 395.6 MB, free: 48.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.3346, allocations: 111 kB / 395.7 MB, free: 48.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.336, allocations: 2.464 MB / 398.1 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.3364, allocations: 39.81 kB / 398.2 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3364, allocations: 23.72 kB / 398.2 MB, free: 46.12 MB / 318.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.0002293/0.3366, allocations: 173.4 kB / 398.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.3368, allocations: 39.34 kB / 398.4 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/0.3378, allocations: 0.8608 MB / 399.3 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.3378, allocations: 11.95 kB / 399.3 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3378, allocations: 0 / 399.3 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007388/0.3385, allocations: 0.955 MB / 400.2 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.3401, allocations: 1.493 MB / 401.7 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3401, allocations: 3.984 kB / 401.7 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.3404, allocations: 67.91 kB / 401.8 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/0.3437, allocations: 0.6332 MB / 402.4 MB, free: 42.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.3437, allocations: 11.98 kB / 402.4 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006504/0.3444, allocations: 1.284 MB / 403.7 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3444, allocations: 3.938 kB / 403.7 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.3456, allocations: 1.219 MB / 404.9 MB, free: 40.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.3457, allocations: 114 kB / 405 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.3458, allocations: 16.03 kB / 405.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.3461, allocations: 20.81 kB / 405.1 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.3461, allocations: 35.83 kB / 405.1 MB, free: 39.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.3462, allocations: 23.98 kB / 405.1 MB, free: 39.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3463, allocations: 209.9 kB / 405.3 MB, free: 39.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3463, allocations: 0 / 405.3 MB, free: 39.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007182/0.347, allocations: 226.6 kB / 405.6 MB, free: 39.55 MB / 318.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.0005765/0.3476, allocations: 279.9 kB / 405.8 MB, free: 39.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3487, allocations: 0.6875 MB / 406.5 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3487, allocations: 0 / 406.5 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008026/0.3495, allocations: 440.8 kB / 407 MB, free: 38.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.3507, allocations: 236.4 kB / 407.2 MB, free: 37.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3522, allocations: 1.437 MB / 408.6 MB, free: 36.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.3524, allocations: 0.8324 MB / 409.5 MB, free: 35.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.3527, allocations: 67.73 kB / 409.5 MB, free: 35.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.3528, allocations: 43.42 kB / 409.6 MB, free: 35.55 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3528, allocations: 4 kB / 409.6 MB, free: 35.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01598/0.3688, allocations: 12.18 MB / 421.8 MB, free: 23.38 MB / 318.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)