Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.004628/0.004628, allocations: 101.5 kB / 15.73 MB, free: 6.469 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.001069/0.001069, allocations: 192.5 kB / 16.67 MB, free: 6.379 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.33/1.33, 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.001176/0.001176, allocations: 46.38 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09157, allocations: 46.62 MB / 373.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002474/0.0941, allocations: 1.362 MB / 374.5 MB, free: 76 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.376/0.4702, allocations: 150.8 MB / 0.513 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.4703, allocations: 2.125 kB / 0.513 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.4704, allocations: 7.922 kB / 0.513 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.4715, allocations: 355.8 kB / 0.5133 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.4733, allocations: 0.808 MB / 0.5141 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.4735, allocations: 66.03 kB / 0.5142 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.4735, allocations: 10.8 kB / 0.5142 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.4736, allocations: 36.97 kB / 0.5142 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.4737, allocations: 31.81 kB / 0.5142 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.4737, allocations: 4.781 kB / 0.5143 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.4758, allocations: 1.408 MB / 0.5156 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.4759, allocations: 18.8 kB / 0.5156 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.4759, allocations: 28.23 kB / 0.5157 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.4772, allocations: 0.8484 MB / 0.5165 GB, free: 2.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.4772, allocations: 0 / 0.5165 GB, free: 2.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.4772, allocations: 0 / 0.5165 GB, free: 2.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4772, allocations: 3.938 kB / 0.5165 GB, free: 2.539 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.0006415/0.4779, allocations: 473.8 kB / 0.517 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4779, allocations: 13.62 kB / 0.517 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003549/0.4783, allocations: 32.86 kB / 0.517 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.4785, allocations: 204.4 kB / 0.5172 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4785, allocations: 0.5625 kB / 0.5172 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.4786, allocations: 6.719 kB / 0.5172 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.4788, allocations: 77.75 kB / 0.5173 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4788, allocations: 3.938 kB / 0.5173 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4788, allocations: 0 / 0.5173 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4788, allocations: 4 kB / 0.5173 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4789, allocations: 44.97 kB / 0.5173 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.4791, allocations: 191.1 kB / 0.5175 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4794, allocations: 117.7 kB / 0.5176 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/0.4795, allocations: 45.23 kB / 0.5177 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/0.4801, allocations: 132.3 kB / 0.5178 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.4802, allocations: 41.31 kB / 0.5178 GB, free: 1.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.4802, allocations: 0 / 0.5178 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004082/0.4806, allocations: 118 kB / 0.5179 GB, free: 1.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4806, allocations: 79.55 kB / 0.518 GB, free: 1.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4808, allocations: 142.8 kB / 0.5182 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4808, allocations: 25.7 kB / 0.5182 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.4808, allocations: 90.52 kB / 0.5183 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.4809, allocations: 27.64 kB / 0.5183 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.4809, allocations: 19.03 kB / 0.5183 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.481, allocations: 321.4 kB / 0.5186 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.4811, allocations: 21.02 kB / 0.5186 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.4812, allocations: 48.14 kB / 0.5187 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4813, allocations: 91.3 kB / 0.5188 GB, free: 468 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4813, allocations: 0 / 0.5188 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002391/0.4816, allocations: 116 kB / 0.5189 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4816, allocations: 7.375 kB / 0.5189 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4816, allocations: 0 / 0.5189 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4816, allocations: 6.781 kB / 0.5189 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.4817, allocations: 12.34 kB / 0.5189 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.4817, allocations: 0 / 0.5189 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.4818, allocations: 6.359 kB / 0.5189 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4818, allocations: 8.812 kB / 0.5189 GB, free: 384 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 7.581e-05/0.4819, allocations: 112.7 kB / 0.519 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.4819, allocations: 10.5 kB / 0.519 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.4822, allocations: 117.9 kB / 0.5191 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4822, allocations: 10.56 kB / 0.5192 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4822, allocations: 3.984 kB / 0.5192 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4822, allocations: 0 / 0.5192 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.4824, allocations: 192.1 kB / 0.5193 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4824, allocations: 0 / 0.5193 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.4825, allocations: 14.05 kB / 0.5194 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4825, allocations: 0 / 0.5194 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4825, allocations: 2.594 kB / 0.5194 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4825, allocations: 2.109 kB / 0.5194 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4825, allocations: 1.781 kB / 0.5194 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4829, allocations: 164.4 kB / 0.5195 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.4829, allocations: 95.62 kB / 0.5196 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.483, allocations: 0 / 0.5196 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.483, allocations: 2.719 kB / 0.5196 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.4831, allocations: 6.141 kB / 0.5196 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4831, allocations: 6.219 kB / 0.5196 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.4832, allocations: 122.1 kB / 0.5197 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4832, allocations: 0 / 0.5197 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.4838, allocations: 198.1 kB / 0.5199 GB, free: 15.57 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.001227/0.4851, allocations: 0.5134 MB / 0.5204 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4853, allocations: 65.39 kB / 0.5205 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4853, allocations: 0 / 0.5205 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.4854, allocations: 38.95 kB / 0.5205 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.4857, allocations: 21.67 kB / 0.5206 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.4862, allocations: 315.3 kB / 0.5209 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4865, allocations: 0.6925 MB / 0.5215 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.4866, allocations: 16.62 kB / 0.5215 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.4866, allocations: 19.28 kB / 0.5216 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4866, allocations: 0 / 0.5216 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Templates: time 0.01046/0.4971, allocations: 6.097 MB / 0.5275 GB, free: 8.566 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)