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.001511/0.001511, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00193/0.00193, allocations: 192 kB / 16.25 MB, free: 6.629 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.403/1.403, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.001145/0.001145, allocations: 55.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2366, allocations: 46.62 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002671/0.2393, allocations: 1.425 MB / 326.3 MB, free: 0.8125 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02812/0.2675, allocations: 23.81 MB / 350.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.2676, allocations: 0 / 350.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2678, allocations: 7.922 kB / 350.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01526/0.2831, allocations: 5.047 MB / 355.1 MB, free: 5.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.2839, allocations: 318.9 kB / 355.4 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2841, allocations: 79.69 kB / 355.5 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.2841, allocations: 4 kB / 355.5 MB, free: 5.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.2842, allocations: 35.84 kB / 355.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.2843, allocations: 39.89 kB / 355.6 MB, free: 5.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2843, allocations: 4 kB / 355.6 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/0.2989, allocations: 8.691 MB / 364.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.299, allocations: 23.84 kB / 364.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.2991, allocations: 27.86 kB / 364.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.311, allocations: 4.421 MB / 368.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.311, allocations: 0 / 368.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.311, allocations: 4 kB / 368.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.311, allocations: 0 / 368.8 MB, free: 8.066 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.00242/0.3135, allocations: 0.9007 MB / 369.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3135, allocations: 12.03 kB / 369.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.3136, allocations: 4.844 kB / 369.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.3138, allocations: 199.8 kB / 369.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3138, allocations: 7.938 kB / 369.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3138, allocations: 0 / 369.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.314, allocations: 75.39 kB / 370 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.314, allocations: 0 / 370 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.314, allocations: 0 / 370 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.314, allocations: 0 / 370 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3142, allocations: 39.91 kB / 370 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.3144, allocations: 190.5 kB / 370.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.3147, allocations: 101.1 kB / 370.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.3148, allocations: 29.77 kB / 370.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.3148, allocations: 12 kB / 370.3 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3148, allocations: 34.55 kB / 370.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 4.138e-06/0.3149, allocations: 4 kB / 370.4 MB, free: 6.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003004/0.3152, allocations: 105.5 kB / 370.5 MB, free: 6.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3152, allocations: 77.11 kB / 370.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3153, allocations: 141.8 kB / 370.7 MB, free: 5.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3154, allocations: 25.7 kB / 370.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.3154, allocations: 84.14 kB / 370.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3154, allocations: 19.73 kB / 370.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.3155, allocations: 17.72 kB / 370.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3156, allocations: 326.8 kB / 371.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.3157, allocations: 15.92 kB / 371.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.3158, allocations: 41.7 kB / 371.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3159, allocations: 53.69 kB / 371.3 MB, free: 5.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3159, allocations: 0 / 371.3 MB, free: 5.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001628/0.3161, allocations: 81.52 kB / 371.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3161, allocations: 8 kB / 371.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3161, allocations: 0 / 371.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3161, allocations: 0 / 371.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.3162, allocations: 11.98 kB / 371.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3162, allocations: 4 kB / 371.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.3162, allocations: 4 kB / 371.4 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3162, allocations: 4 kB / 371.4 MB, free: 5.207 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 7.482e-05/0.3163, allocations: 109.8 kB / 371.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3164, allocations: 11.91 kB / 371.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.3166, allocations: 101.4 kB / 371.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3166, allocations: 4 kB / 371.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3166, allocations: 0 / 371.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3166, allocations: 0 / 371.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.3168, allocations: 189.9 kB / 371.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3168, allocations: 3.938 kB / 371.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3168, allocations: 12.56 kB / 371.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3168, allocations: 0 / 371.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3169, allocations: 7.938 kB / 371.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3169, allocations: 0 / 371.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3169, allocations: 0 / 371.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3171, allocations: 117.8 kB / 371.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.3171, allocations: 85.08 kB / 372 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3172, allocations: 11.98 kB / 372 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.3172, allocations: 4 kB / 372 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3173, allocations: 7.938 kB / 372 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3173, allocations: 7.984 kB / 372 MB, free: 4.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.3174, allocations: 107.3 kB / 372.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3174, allocations: 0 / 372.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002608/0.32, allocations: 0.929 MB / 373.1 MB, free: 3.406 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.004059/0.3241, allocations: 1.341 MB / 374.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.3244, allocations: 55.91 kB / 374.5 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3244, allocations: 0 / 374.5 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.807e-05/0.3244, allocations: 23.98 kB / 374.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3247, allocations: 19.97 kB / 374.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.3252, allocations: 212.3 kB / 374.7 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.3255, allocations: 0.6807 MB / 375.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.745e-05/0.3255, allocations: 20.14 kB / 375.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.3256, allocations: 15.44 kB / 375.4 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3256, allocations: 0 / 375.4 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of Templates: time 0.0361/0.3617, allocations: 28.54 MB / 404 MB, free: 4.395 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)