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.00112/0.001119, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008431/0.008432, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.347/1.347, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0007788/0.0007785, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2581, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001381/0.2595, allocations: 1.092 MB / 328.1 MB, free: 0.5117 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.03085/0.2904, allocations: 25.12 MB / 353.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.2905, allocations: 0 / 353.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.2906, allocations: 7.922 kB / 353.2 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.3036, allocations: 4.563 MB / 357.8 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.3043, allocations: 322.9 kB / 358.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3045, allocations: 95.61 kB / 358.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.3045, allocations: 4 kB / 358.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.37e-05/0.3046, allocations: 31.91 kB / 358.3 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.3047, allocations: 43.83 kB / 358.3 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3047, allocations: 4 kB / 358.3 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.3195, allocations: 8.8 MB / 367.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.3196, allocations: 23.84 kB / 367.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.3196, allocations: 49.62 kB / 367.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009763/0.3294, allocations: 4.402 MB / 371.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3294, allocations: 0 / 371.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3295, allocations: 0 / 371.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3295, allocations: 0 / 371.6 MB, free: 6.715 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.002259/0.3317, allocations: 0.889 MB / 372.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3318, allocations: 8.031 kB / 372.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.3318, allocations: 12.78 kB / 372.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.332, allocations: 203.8 kB / 372.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.332, allocations: 4 kB / 372.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3321, allocations: 4 kB / 372.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3322, allocations: 71.39 kB / 372.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3323, allocations: 0 / 372.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3323, allocations: 0 / 372.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3323, allocations: 7.922 kB / 372.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3324, allocations: 39.91 kB / 372.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.3326, allocations: 198.4 kB / 373 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3329, allocations: 97.11 kB / 373.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.333, allocations: 21.78 kB / 373.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.3331, allocations: 15.98 kB / 373.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3331, allocations: 38.56 kB / 373.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3331, allocations: 0 / 373.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003028/0.3334, allocations: 97.59 kB / 373.3 MB, free: 4.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3335, allocations: 77.11 kB / 373.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3336, allocations: 141.8 kB / 373.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3336, allocations: 25.7 kB / 373.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.3337, allocations: 92.12 kB / 373.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3337, allocations: 23.66 kB / 373.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.3338, allocations: 13.72 kB / 373.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3339, allocations: 318.8 kB / 373.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.3339, allocations: 19.98 kB / 374 MB, free: 4.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.334, allocations: 33.64 kB / 374 MB, free: 4.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3341, allocations: 45.7 kB / 374 MB, free: 3.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3341, allocations: 4 kB / 374 MB, free: 3.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001708/0.3343, allocations: 81.61 kB / 374.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3343, allocations: 4 kB / 374.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3344, allocations: 4 kB / 374.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3344, allocations: 0 / 374.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.3344, allocations: 11.98 kB / 374.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3345, allocations: 0 / 374.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.3345, allocations: 8.375 kB / 374.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3345, allocations: 0 / 374.1 MB, free: 3.875 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.3346, allocations: 121.8 kB / 374.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3346, allocations: 7.984 kB / 374.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.3349, allocations: 105.4 kB / 374.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3349, allocations: 4 kB / 374.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3349, allocations: 0 / 374.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3349, allocations: 0 / 374.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3351, allocations: 185.6 kB / 374.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3351, allocations: 3.938 kB / 374.6 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3351, allocations: 16.06 kB / 374.6 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3351, allocations: 11.98 kB / 374.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3352, allocations: 0 / 374.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3352, allocations: 0 / 374.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3352, allocations: 0 / 374.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.3354, allocations: 109.9 kB / 374.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.3355, allocations: 96.92 kB / 374.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3355, allocations: 12 kB / 374.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.3356, allocations: 384 / 374.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.3356, allocations: 11.92 kB / 374.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3356, allocations: 4 kB / 374.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.058e-05/0.3357, allocations: 111.2 kB / 374.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3357, allocations: 0 / 374.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002622/0.3383, allocations: 0.929 MB / 375.9 MB, free: 2.055 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004122/0.3425, allocations: 1.329 MB / 377.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3427, allocations: 51.84 kB / 377.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3427, allocations: 3.938 kB / 377.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.3428, allocations: 23.98 kB / 377.3 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.343, allocations: 15.98 kB / 377.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3434, allocations: 213.3 kB / 377.5 MB, free: 396 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3437, allocations: 0.6848 MB / 378.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.3438, allocations: 19.77 kB / 378.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.3438, allocations: 19.42 kB / 378.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3438, allocations: 0 / 378.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of Templates: time 0.03807/0.3819, allocations: 28.44 MB / 406.7 MB, free: 3.152 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)