Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005549/0.005549, allocations: 99.66 kB / 15.73 MB, free: 6.477 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.001173/0.001173, allocations: 189.9 kB / 16.67 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.336/1.336, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.00116/0.00116, allocations: 50.77 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08269, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00248/0.08521, allocations: 1.369 MB / 374.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3679/0.4531, allocations: 150.8 MB / 0.513 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.4533, allocations: 3.938 kB / 0.513 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.4533, allocations: 3.984 kB / 0.513 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.4543, allocations: 354.6 kB / 0.5133 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.456, allocations: 0.8009 MB / 0.5141 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4561, allocations: 73.28 kB / 0.5142 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.4561, allocations: 10.83 kB / 0.5142 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.4562, allocations: 34.66 kB / 0.5142 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.4563, allocations: 30.47 kB / 0.5142 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.4563, allocations: 1.781 kB / 0.5142 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.4583, allocations: 1.41 MB / 0.5156 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.4583, allocations: 14.98 kB / 0.5156 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.4584, allocations: 28.58 kB / 0.5157 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.4595, allocations: 0.8568 MB / 0.5165 GB, free: 2.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4595, allocations: 7.922 kB / 0.5165 GB, free: 2.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4595, allocations: 0 / 0.5165 GB, free: 2.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.4595, allocations: 0 / 0.5165 GB, free: 2.652 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.0005655/0.4601, allocations: 469.2 kB / 0.517 GB, free: 2.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.4601, allocations: 9.625 kB / 0.517 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.4604, allocations: 32.61 kB / 0.517 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4606, allocations: 206.5 kB / 0.5172 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4606, allocations: 0.5625 kB / 0.5172 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4606, allocations: 10.03 kB / 0.5172 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4608, allocations: 72.66 kB / 0.5173 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4608, allocations: 3.984 kB / 0.5173 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4608, allocations: 6.281 kB / 0.5173 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4608, allocations: 0 / 0.5173 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.461, allocations: 41.69 kB / 0.5173 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.4612, allocations: 193.7 kB / 0.5175 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.4615, allocations: 117.2 kB / 0.5176 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.4615, allocations: 39.2 kB / 0.5177 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.4621, allocations: 138.3 kB / 0.5178 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4621, allocations: 38.09 kB / 0.5178 GB, free: 1.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4621, allocations: 0 / 0.5178 GB, free: 1.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003819/0.4625, allocations: 125.9 kB / 0.5179 GB, free: 1.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.4626, allocations: 77.11 kB / 0.518 GB, free: 1.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4627, allocations: 142.2 kB / 0.5182 GB, free: 1.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4627, allocations: 25.7 kB / 0.5182 GB, free: 1.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.4627, allocations: 86.95 kB / 0.5183 GB, free: 1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4628, allocations: 26.02 kB / 0.5183 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.4628, allocations: 18.72 kB / 0.5183 GB, free: 0.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.4629, allocations: 325.5 kB / 0.5186 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.463, allocations: 21.67 kB / 0.5186 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.4631, allocations: 51.45 kB / 0.5187 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.4632, allocations: 82.94 kB / 0.5188 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4632, allocations: 0 / 0.5188 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002483/0.4635, allocations: 116.3 kB / 0.5189 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4635, allocations: 11.08 kB / 0.5189 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4635, allocations: 0 / 0.5189 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4636, allocations: 3.125 kB / 0.5189 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.4636, allocations: 19.98 kB / 0.5189 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4636, allocations: 0 / 0.5189 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.4637, allocations: 6.984 kB / 0.5189 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4637, allocations: 6.438 kB / 0.5189 GB, free: 456 kB / 398.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.217e-05/0.4638, allocations: 118.6 kB / 0.519 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.4639, allocations: 10.72 kB / 0.519 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.4641, allocations: 116.5 kB / 0.5192 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4641, allocations: 2.094 kB / 0.5192 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4641, allocations: 0 / 0.5192 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4642, allocations: 3.984 kB / 0.5192 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.4643, allocations: 192.2 kB / 0.5193 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4643, allocations: 4 kB / 0.5193 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.4644, allocations: 14.23 kB / 0.5194 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4644, allocations: 0 / 0.5194 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4644, allocations: 2.312 kB / 0.5194 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4644, allocations: 0 / 0.5194 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4644, allocations: 0 / 0.5194 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.4648, allocations: 164.2 kB / 0.5195 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.4649, allocations: 93.59 kB / 0.5196 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.4649, allocations: 0 / 0.5196 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.4649, allocations: 2.906 kB / 0.5196 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.465, allocations: 6.734 kB / 0.5196 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.465, allocations: 2.125 kB / 0.5196 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.08e-05/0.4651, allocations: 114.6 kB / 0.5197 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4651, allocations: 0 / 0.5197 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.4657, allocations: 201.2 kB / 0.5199 GB, free: 15.64 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 (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.001129/0.4668, allocations: 0.5315 MB / 0.5204 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.4671, allocations: 62.42 kB / 0.5205 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4671, allocations: 2.844 kB / 0.5205 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.4672, allocations: 32.2 kB / 0.5205 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4674, allocations: 28.2 kB / 0.5206 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.4679, allocations: 309.2 kB / 0.5209 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.4683, allocations: 0.6852 MB / 0.5215 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.4684, allocations: 19.61 kB / 0.5215 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.4684, allocations: 14.47 kB / 0.5216 GB, free: 14.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4684, allocations: 3.094 kB / 0.5216 GB, free: 14.33 MB / 414.1 MB Notification: Performance of Templates: time 0.011/0.4794, allocations: 6.131 MB / 0.5275 GB, free: 8.617 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)