Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001063/0.001063, allocations: 105.1 kB / 17.06 MB, free: 6.027 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.001157/0.001157, allocations: 195 kB / 18 MB, free: 5.109 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.306/1.306, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001168/0.001168, allocations: 47.94 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08424, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002625/0.08691, allocations: 1.369 MB / 375.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3631/0.45, allocations: 150.8 MB / 0.5143 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.4501, allocations: 0 / 0.5143 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.4502, allocations: 3.938 kB / 0.5143 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.4514, allocations: 350.5 kB / 0.5146 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.4535, allocations: 0.8114 MB / 0.5154 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.4536, allocations: 75.69 kB / 0.5155 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.4537, allocations: 11.88 kB / 0.5155 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.4537, allocations: 31.86 kB / 0.5155 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.4538, allocations: 35.89 kB / 0.5155 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.4539, allocations: 4 kB / 0.5155 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.4561, allocations: 1.399 MB / 0.5169 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.4562, allocations: 15.97 kB / 0.5169 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.4562, allocations: 35.73 kB / 0.517 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.4574, allocations: 0.8575 MB / 0.5178 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4574, allocations: 0 / 0.5178 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4574, allocations: 0 / 0.5178 GB, free: 3.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.4574, allocations: 0 / 0.5178 GB, free: 3.406 MB / 446.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.0005743/0.458, allocations: 467.8 kB / 0.5182 GB, free: 2.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.458, allocations: 8.031 kB / 0.5183 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/0.4583, allocations: 36.89 kB / 0.5183 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4585, allocations: 204.1 kB / 0.5185 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4585, allocations: 4.562 kB / 0.5185 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.4586, allocations: 11.94 kB / 0.5185 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.4587, allocations: 67.39 kB / 0.5186 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4587, allocations: 0 / 0.5186 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4588, allocations: 4 kB / 0.5186 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4588, allocations: 0 / 0.5186 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.4589, allocations: 43.91 kB / 0.5186 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.4591, allocations: 198.5 kB / 0.5188 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.4594, allocations: 109.2 kB / 0.5189 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.4595, allocations: 41.7 kB / 0.5189 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.46, allocations: 141 kB / 0.5191 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4601, allocations: 38.56 kB / 0.5191 GB, free: 1.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4601, allocations: 0 / 0.5191 GB, free: 1.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000362/0.4604, allocations: 117.6 kB / 0.5192 GB, free: 1.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.4605, allocations: 81.11 kB / 0.5193 GB, free: 1.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4607, allocations: 143.2 kB / 0.5194 GB, free: 1.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.4607, allocations: 25.7 kB / 0.5195 GB, free: 1.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4607, allocations: 92.11 kB / 0.5196 GB, free: 1.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.4608, allocations: 23.66 kB / 0.5196 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.4608, allocations: 17.72 kB / 0.5196 GB, free: 1.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4609, allocations: 322.8 kB / 0.5199 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.461, allocations: 23.98 kB / 0.5199 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.4611, allocations: 51.41 kB / 0.52 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4612, allocations: 83.7 kB / 0.52 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4613, allocations: 4 kB / 0.5201 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002443/0.4615, allocations: 113.4 kB / 0.5202 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4615, allocations: 8 kB / 0.5202 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4615, allocations: 0 / 0.5202 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4616, allocations: 0 / 0.5202 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.4616, allocations: 19.98 kB / 0.5202 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4617, allocations: 7.938 kB / 0.5202 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.4617, allocations: 3.938 kB / 0.5202 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.4617, allocations: 8.062 kB / 0.5202 GB, free: 0.6484 MB / 446.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 7.378e-05/0.4618, allocations: 113.8 kB / 0.5203 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.4619, allocations: 11.84 kB / 0.5203 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.4621, allocations: 121.3 kB / 0.5204 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4621, allocations: 0 / 0.5204 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4622, allocations: 0 / 0.5204 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4622, allocations: 0 / 0.5204 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.4623, allocations: 185.5 kB / 0.5206 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4623, allocations: 4 kB / 0.5206 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.4624, allocations: 22.67 kB / 0.5206 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4624, allocations: 4 kB / 0.5206 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4624, allocations: 0 / 0.5206 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4624, allocations: 0 / 0.5206 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4624, allocations: 0 / 0.5206 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.4628, allocations: 165.9 kB / 0.5208 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.4629, allocations: 85.05 kB / 0.5209 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.4629, allocations: 3.984 kB / 0.5209 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.463, allocations: 4 kB / 0.5209 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.463, allocations: 7.938 kB / 0.5209 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.463, allocations: 4 kB / 0.5209 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.4631, allocations: 111.2 kB / 0.521 GB, free: 15.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4631, allocations: 0 / 0.521 GB, free: 15.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006053/0.4637, allocations: 207.8 kB / 0.5212 GB, free: 15.51 MB / 462.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.001166/0.4649, allocations: 0.5179 MB / 0.5217 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4651, allocations: 71.88 kB / 0.5218 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4651, allocations: 0 / 0.5218 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.4652, allocations: 31.92 kB / 0.5218 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4655, allocations: 35.72 kB / 0.5219 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.466, allocations: 299.7 kB / 0.5221 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.4662, allocations: 0.6885 MB / 0.5228 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.4663, allocations: 19.89 kB / 0.5228 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.4663, allocations: 19.44 kB / 0.5228 GB, free: 13.79 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4663, allocations: 0 / 0.5228 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Templates: time 0.01025/0.4766, allocations: 6.129 MB / 0.5288 GB, free: 7.656 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)