Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007961/0.007961, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001296/0.001296, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.398 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.001144/0.001144, allocations: 50.81 kB / 326.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.08105, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002347/0.08344, allocations: 1.35 MB / 374.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3468/0.4303, allocations: 150.4 MB / 0.5126 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.4304, allocations: 0 / 0.5126 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.4304, allocations: 3.938 kB / 0.5126 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008048/0.4312, allocations: 245.5 kB / 0.5128 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.4326, allocations: 0.6243 MB / 0.5134 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.4327, allocations: 56.52 kB / 0.5135 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.4327, allocations: 2.844 kB / 0.5135 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.4328, allocations: 24.23 kB / 0.5135 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.4329, allocations: 28.03 kB / 0.5135 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.4329, allocations: 7.125 kB / 0.5135 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.4342, allocations: 0.8853 MB / 0.5144 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.4342, allocations: 11.92 kB / 0.5144 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.4343, allocations: 21.97 kB / 0.5144 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009006/0.4352, allocations: 0.5954 MB / 0.515 GB, free: 3.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4352, allocations: 0 / 0.515 GB, free: 3.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4352, allocations: 0 / 0.515 GB, free: 3.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.4352, allocations: 2.094 kB / 0.515 GB, free: 3.332 MB / 398.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.0006512/0.4359, allocations: 455 kB / 0.5154 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4359, allocations: 10.22 kB / 0.5155 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.437, allocations: 102.6 kB / 0.5156 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.4373, allocations: 213.3 kB / 0.5158 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.4374, allocations: 6.5 kB / 0.5158 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.4374, allocations: 9.719 kB / 0.5158 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.4376, allocations: 89.67 kB / 0.5159 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4377, allocations: 0 / 0.5159 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4377, allocations: 4 kB / 0.5159 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.4377, allocations: 2.094 kB / 0.5159 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.4379, allocations: 42.95 kB / 0.5159 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.4383, allocations: 212.3 kB / 0.5161 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.4389, allocations: 128.3 kB / 0.5162 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.439, allocations: 35.33 kB / 0.5163 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000797/0.4398, allocations: 0.9875 MB / 0.5172 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4398, allocations: 34.5 kB / 0.5173 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4398, allocations: 0 / 0.5173 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005198/0.4404, allocations: 132.1 kB / 0.5174 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.4404, allocations: 83.23 kB / 0.5175 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4406, allocations: 161.9 kB / 0.5176 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4407, allocations: 25.7 kB / 0.5176 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.4407, allocations: 84.14 kB / 0.5177 GB, free: 500 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.4408, allocations: 28.08 kB / 0.5178 GB, free: 476 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.4409, allocations: 25.52 kB / 0.5178 GB, free: 452 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.441, allocations: 322.8 kB / 0.5181 GB, free: 120 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.4411, allocations: 27.12 kB / 0.5181 GB, free: 108 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4412, allocations: 46.64 kB / 0.5182 GB, free: 64 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.4415, allocations: 95.47 kB / 0.5182 GB, free: 15.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4415, allocations: 3.938 kB / 0.5182 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003526/0.4419, allocations: 123.1 kB / 0.5184 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4419, allocations: 8.438 kB / 0.5184 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4419, allocations: 0 / 0.5184 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4419, allocations: 2.938 kB / 0.5184 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4421, allocations: 23.38 kB / 0.5184 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4421, allocations: 0 / 0.5184 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.4423, allocations: 8.469 kB / 0.5184 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.4423, allocations: 13.64 kB / 0.5184 GB, free: 15.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 0.0001042/0.4424, allocations: 115.9 kB / 0.5185 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.4425, allocations: 6.812 kB / 0.5185 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.4432, allocations: 238.2 kB / 0.5188 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4432, allocations: 2.406 kB / 0.5188 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4433, allocations: 0.875 kB / 0.5188 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4433, allocations: 1.906 kB / 0.5188 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.4435, allocations: 221.9 kB / 0.519 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4435, allocations: 0 / 0.519 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4437, allocations: 24.16 kB / 0.519 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4437, allocations: 3.219 kB / 0.519 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4438, allocations: 1.188 kB / 0.519 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4438, allocations: 6.75 kB / 0.519 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4438, allocations: 0 / 0.519 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.4442, allocations: 184.4 kB / 0.5192 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4443, allocations: 86.81 kB / 0.5193 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.4444, allocations: 6.812 kB / 0.5193 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.4445, allocations: 14.95 kB / 0.5193 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.4446, allocations: 6.297 kB / 0.5193 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.4446, allocations: 3.281 kB / 0.5193 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.4448, allocations: 132.8 kB / 0.5194 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4448, allocations: 0 / 0.5194 GB, free: 14.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008426/0.4456, allocations: 172.6 kB / 0.5196 GB, free: 14.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009647/0.4466, allocations: 394.4 kB / 0.52 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.447, allocations: 75.84 kB / 0.52 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.447, allocations: 0 / 0.52 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.4471, allocations: 42.62 kB / 0.5201 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.4474, allocations: 20.92 kB / 0.5201 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.4481, allocations: 301.5 kB / 0.5204 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4485, allocations: 0.6932 MB / 0.5211 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005653/0.449, allocations: 428.1 kB / 0.5215 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.4492, allocations: 41.86 kB / 0.5215 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4492, allocations: 4 kB / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of Templates: time 0.01124/0.4604, allocations: 6.181 MB / 0.5276 GB, free: 8.305 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)