Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008845/0.0008846, allocations: 168.7 kB / 15.95 MB, free: 204 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.000457/0.0004571, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 47.6 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001313/0.2633, allocations: 1.067 MB / 327.5 MB, free: 0.7539 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02749/0.2908, allocations: 22.18 MB / 349.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.2909, allocations: 0 / 349.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.291, allocations: 4 kB / 349.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01421/0.3053, allocations: 4.21 MB / 353.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.3061, allocations: 215 kB / 354.1 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.3063, allocations: 83.67 kB / 354.2 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.3064, allocations: 4 kB / 354.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.3065, allocations: 39.84 kB / 354.3 MB, free: 7.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3066, allocations: 39.89 kB / 354.3 MB, free: 7.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.3066, allocations: 4 kB / 354.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.3233, allocations: 7.658 MB / 362 MB, free: 72 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.3234, allocations: 15.92 kB / 362 MB, free: 56 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.3234, allocations: 29.7 kB / 362 MB, free: 20 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.3296, allocations: 2.772 MB / 364.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3296, allocations: 0 / 364.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3296, allocations: 0 / 364.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3296, allocations: 4 kB / 364.8 MB, free: 13.24 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.002403/0.332, allocations: 0.8888 MB / 365.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3321, allocations: 15.97 kB / 365.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.3321, allocations: 11.89 kB / 365.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3323, allocations: 199 kB / 365.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3324, allocations: 0 / 365.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3324, allocations: 0 / 365.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3326, allocations: 75.38 kB / 366 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3326, allocations: 0 / 366 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3326, allocations: 4 kB / 366 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3326, allocations: 0 / 366 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3328, allocations: 35.92 kB / 366 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.333, allocations: 190.5 kB / 366.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3333, allocations: 97.11 kB / 366.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.3334, allocations: 29.77 kB / 366.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.3335, allocations: 12 kB / 366.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3335, allocations: 38.5 kB / 366.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3335, allocations: 0 / 366.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003174/0.3338, allocations: 101.5 kB / 366.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3339, allocations: 85.09 kB / 366.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.334, allocations: 134 kB / 366.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.334, allocations: 29.7 kB / 366.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.3341, allocations: 84.14 kB / 366.8 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.3341, allocations: 19.69 kB / 366.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.3341, allocations: 4 kB / 366.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3342, allocations: 322.8 kB / 367.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.3343, allocations: 15.98 kB / 367.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.3344, allocations: 37.64 kB / 367.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.3345, allocations: 16.38 kB / 367.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3345, allocations: 4 kB / 367.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001737/0.3346, allocations: 81.55 kB / 367.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3347, allocations: 4 kB / 367.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3347, allocations: 7.938 kB / 367.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3347, allocations: 0 / 367.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.3348, allocations: 12 kB / 367.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3348, allocations: 4 kB / 367.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.3348, allocations: 4 kB / 367.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3349, allocations: 3.984 kB / 367.3 MB, free: 10.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.823e-05/0.335, allocations: 113.8 kB / 367.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.335, allocations: 11.91 kB / 367.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3352, allocations: 101.4 kB / 367.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3352, allocations: 0 / 367.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3352, allocations: 8 kB / 367.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3353, allocations: 0 / 367.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3354, allocations: 185.5 kB / 367.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3354, allocations: 0 / 367.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.3355, allocations: 11.98 kB / 367.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3355, allocations: 0 / 367.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3355, allocations: 4.375 kB / 367.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3355, allocations: 0 / 367.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3355, allocations: 4.062 kB / 367.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3357, allocations: 114 kB / 367.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.3358, allocations: 104.9 kB / 368 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3358, allocations: 4 kB / 368 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.3359, allocations: 0 / 368 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.336, allocations: 11.98 kB / 368 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.336, allocations: 4 kB / 368 MB, free: 9.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.3361, allocations: 111.2 kB / 368.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.3361, allocations: 4 kB / 368.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002692/0.3388, allocations: 0.9173 MB / 369 MB, free: 8.652 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004791/0.3436, allocations: 1.227 MB / 370.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3438, allocations: 39.97 kB / 370.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3438, allocations: 4 kB / 370.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.3439, allocations: 27.92 kB / 370.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3442, allocations: 23.94 kB / 370.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.3447, allocations: 207.3 kB / 370.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.345, allocations: 0.6887 MB / 371.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.345, allocations: 19.75 kB / 371.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.3451, allocations: 15.44 kB / 371.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3451, allocations: 0 / 371.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of Templates: time 0.04178/0.3869, allocations: 28.84 MB / 400.1 MB, free: 9.449 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)