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.005959/0.005959, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001238/0.001238, allocations: 201.1 kB / 16.68 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.404/1.404, allocations: 205.1 MB / 222.6 MB, free: 4.551 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.001175/0.001175, allocations: 50.31 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.08878, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002433/0.09126, allocations: 1.354 MB / 374.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3559/0.4472, allocations: 150.4 MB / 0.5126 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.4473, allocations: 0 / 0.5126 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.4473, allocations: 7.922 kB / 0.5126 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008556/0.4482, allocations: 245.4 kB / 0.5128 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.4496, allocations: 0.627 MB / 0.5134 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.4497, allocations: 57.91 kB / 0.5135 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.4498, allocations: 6.984 kB / 0.5135 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.4498, allocations: 16.66 kB / 0.5135 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.4499, allocations: 35.03 kB / 0.5135 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.4499, allocations: 2.625 kB / 0.5135 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.4513, allocations: 0.8811 MB / 0.5144 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.4513, allocations: 14.38 kB / 0.5144 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.4513, allocations: 26.19 kB / 0.5144 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007847/0.4521, allocations: 0.5969 MB / 0.515 GB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4521, allocations: 2.781 kB / 0.515 GB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4521, allocations: 0.8438 kB / 0.515 GB, free: 3.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4522, allocations: 0 / 0.515 GB, free: 3.281 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.000552/0.4527, allocations: 460.5 kB / 0.5155 GB, free: 2.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.4527, allocations: 7.344 kB / 0.5155 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4538, allocations: 94.73 kB / 0.5156 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.454, allocations: 232.1 kB / 0.5158 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4541, allocations: 7.938 kB / 0.5158 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.4541, allocations: 2.75 kB / 0.5158 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.4543, allocations: 88.27 kB / 0.5159 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4543, allocations: 0.9375 kB / 0.5159 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4544, allocations: 6.656 kB / 0.5159 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4544, allocations: 0 / 0.5159 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.4545, allocations: 46.08 kB / 0.5159 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.4548, allocations: 202.8 kB / 0.5161 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.4552, allocations: 123.2 kB / 0.5162 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4554, allocations: 42 kB / 0.5163 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006341/0.456, allocations: 0.9914 MB / 0.5172 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.4561, allocations: 30.56 kB / 0.5173 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.925e-06/0.4561, allocations: 2.688 kB / 0.5173 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004943/0.4566, allocations: 145.9 kB / 0.5174 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.4566, allocations: 77.11 kB / 0.5175 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4568, allocations: 156.5 kB / 0.5176 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4569, allocations: 25.7 kB / 0.5177 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.4569, allocations: 84.14 kB / 0.5177 GB, free: 436 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.457, allocations: 24.89 kB / 0.5178 GB, free: 416 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.457, allocations: 28.78 kB / 0.5178 GB, free: 388 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4572, allocations: 325.9 kB / 0.5181 GB, free: 56 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.4573, allocations: 24.08 kB / 0.5181 GB, free: 44 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.4574, allocations: 51.11 kB / 0.5182 GB, free: 16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.4576, allocations: 91.83 kB / 0.5183 GB, free: 15.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4577, allocations: 3.938 kB / 0.5183 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003346/0.458, allocations: 122.7 kB / 0.5184 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.458, allocations: 5.031 kB / 0.5184 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.458, allocations: 0 / 0.5184 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4581, allocations: 2.594 kB / 0.5184 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4582, allocations: 22.84 kB / 0.5184 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4582, allocations: 6.672 kB / 0.5184 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.4584, allocations: 11.38 kB / 0.5184 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.4584, allocations: 9.484 kB / 0.5184 GB, free: 15.82 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 8.856e-05/0.4585, allocations: 116.8 kB / 0.5186 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.4586, allocations: 6.734 kB / 0.5186 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.4592, allocations: 242 kB / 0.5188 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4592, allocations: 0 / 0.5188 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4592, allocations: 6.047 kB / 0.5188 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4592, allocations: 2.094 kB / 0.5188 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.4594, allocations: 213.8 kB / 0.519 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4594, allocations: 0 / 0.519 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.4596, allocations: 25.19 kB / 0.519 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.4596, allocations: 2.625 kB / 0.519 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.4596, allocations: 3.984 kB / 0.519 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4596, allocations: 6.094 kB / 0.519 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4596, allocations: 0 / 0.519 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.4601, allocations: 185.1 kB / 0.5192 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.4601, allocations: 91.41 kB / 0.5193 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.4602, allocations: 2.562 kB / 0.5193 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.4604, allocations: 9.891 kB / 0.5193 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.4604, allocations: 5.688 kB / 0.5193 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4604, allocations: 5.609 kB / 0.5193 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.4606, allocations: 134.8 kB / 0.5195 GB, free: 14.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4606, allocations: 3.938 kB / 0.5195 GB, free: 14.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.4611, allocations: 170.8 kB / 0.5196 GB, free: 14.87 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.0007354/0.4618, allocations: 392.4 kB / 0.52 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.4621, allocations: 76.59 kB / 0.5201 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4621, allocations: 0 / 0.5201 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.4623, allocations: 42.62 kB / 0.5201 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.4625, allocations: 17.94 kB / 0.5201 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.463, allocations: 307 kB / 0.5204 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.4633, allocations: 0.689 MB / 0.5211 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004701/0.4638, allocations: 438.3 kB / 0.5215 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4639, allocations: 36.36 kB / 0.5215 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4639, allocations: 7.938 kB / 0.5215 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Templates: time 0.009664/0.4736, allocations: 6.125 MB / 0.5275 GB, free: 8.125 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)