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.001471/0.001471, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.001181/0.001181, allocations: 55.86 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.224, allocations: 46.64 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00213/0.2262, allocations: 1.368 MB / 326.7 MB, free: 0.7656 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0278/0.254, allocations: 23.67 MB / 350.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.2541, allocations: 0 / 350.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2543, allocations: 3.938 kB / 350.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.2687, allocations: 5.636 MB / 356 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.2696, allocations: 342.8 kB / 356.3 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2697, allocations: 87.62 kB / 356.4 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.2697, allocations: 0 / 356.4 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.2698, allocations: 31.86 kB / 356.4 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.2699, allocations: 39.89 kB / 356.5 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2699, allocations: 4 kB / 356.5 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01479/0.2847, allocations: 8.59 MB / 365.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.2848, allocations: 19.91 kB / 365.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.2849, allocations: 23.88 kB / 365.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.295, allocations: 4.351 MB / 369.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2951, allocations: 0 / 369.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2951, allocations: 0 / 369.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2951, allocations: 0 / 369.5 MB, free: 7.645 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.002196/0.2973, allocations: 0.8969 MB / 370.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.2973, allocations: 8.031 kB / 370.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.2974, allocations: 8.844 kB / 370.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.2976, allocations: 199.8 kB / 370.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2976, allocations: 0 / 370.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2977, allocations: 11.92 kB / 370.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2979, allocations: 75.27 kB / 370.7 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2979, allocations: 4 kB / 370.7 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2979, allocations: 3.984 kB / 370.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2979, allocations: 4 kB / 370.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.298, allocations: 31.98 kB / 370.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.2982, allocations: 186.5 kB / 370.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.2986, allocations: 101.2 kB / 371 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.2986, allocations: 29.7 kB / 371 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.2987, allocations: 11.98 kB / 371 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.2987, allocations: 38.56 kB / 371.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2988, allocations: 0 / 371.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003389/0.2991, allocations: 101.5 kB / 371.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.2991, allocations: 85.09 kB / 371.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2993, allocations: 137.8 kB / 371.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2993, allocations: 29.7 kB / 371.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.2994, allocations: 80.14 kB / 371.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.2994, allocations: 19.75 kB / 371.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.2995, allocations: 21.7 kB / 371.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2996, allocations: 322.8 kB / 371.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.2997, allocations: 19.98 kB / 371.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.2997, allocations: 29.83 kB / 371.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2998, allocations: 49.7 kB / 371.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2999, allocations: 0 / 371.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001807/0.3, allocations: 89.97 kB / 372 MB, free: 4.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3001, allocations: 4 kB / 372 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3001, allocations: 4 kB / 372 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3001, allocations: 3.984 kB / 372 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.3002, allocations: 12 kB / 372 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3002, allocations: 0 / 372 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.3002, allocations: 0 / 372 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3002, allocations: 11.98 kB / 372.1 MB, free: 4.785 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.809e-05/0.3003, allocations: 117.7 kB / 372.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3004, allocations: 4.281 kB / 372.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3006, allocations: 105.5 kB / 372.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3006, allocations: 3.938 kB / 372.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3006, allocations: 0 / 372.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3006, allocations: 3.938 kB / 372.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3008, allocations: 181.5 kB / 372.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3008, allocations: 0 / 372.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.3008, allocations: 15.98 kB / 372.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3008, allocations: 0 / 372.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3009, allocations: 0 / 372.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3009, allocations: 4 kB / 372.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3009, allocations: 4 kB / 372.5 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.3011, allocations: 117.8 kB / 372.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.3011, allocations: 85.09 kB / 372.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3012, allocations: 0 / 372.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.3012, allocations: 11.98 kB / 372.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3013, allocations: 0 / 372.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3013, allocations: 8 kB / 372.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.903e-05/0.3014, allocations: 111.2 kB / 372.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3014, allocations: 0 / 372.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002247/0.3036, allocations: 0.929 MB / 373.7 MB, free: 2.992 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.003684/0.3073, allocations: 1.348 MB / 375.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3076, allocations: 55.91 kB / 375.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3076, allocations: 0 / 375.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.3077, allocations: 27.92 kB / 375.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3079, allocations: 15.98 kB / 375.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.3083, allocations: 192.4 kB / 375.4 MB, free: 1.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.3086, allocations: 0.6807 MB / 376.1 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.3086, allocations: 15.77 kB / 376.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3087, allocations: 23.42 kB / 376.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3087, allocations: 0 / 376.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of Templates: time 0.03717/0.3458, allocations: 28.58 MB / 404.7 MB, free: 3.949 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)