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.00679/0.00679, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.001267/0.001268, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.327/1.327, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001142/0.001142, allocations: 54.3 kB / 326.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08142, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002035/0.08349, allocations: 1.357 MB / 374.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3515/0.435, allocations: 150.8 MB / 0.513 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.4351, allocations: 0 / 0.513 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.4352, allocations: 3.984 kB / 0.513 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.4363, allocations: 357.3 kB / 0.5133 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.4381, allocations: 0.8006 MB / 0.5141 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.4382, allocations: 81.78 kB / 0.5142 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.4383, allocations: 9.875 kB / 0.5142 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.4383, allocations: 30.58 kB / 0.5142 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.4384, allocations: 33.66 kB / 0.5142 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4385, allocations: 2.875 kB / 0.5143 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.4405, allocations: 1.403 MB / 0.5156 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.4406, allocations: 15.2 kB / 0.5156 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.4406, allocations: 31.83 kB / 0.5157 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.4417, allocations: 0.8598 MB / 0.5165 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4418, allocations: 0 / 0.5165 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4418, allocations: 0 / 0.5165 GB, free: 2.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.4418, allocations: 0 / 0.5165 GB, free: 2.379 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.0006352/0.4424, allocations: 467.3 kB / 0.517 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4425, allocations: 9.812 kB / 0.517 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.4428, allocations: 39.88 kB / 0.517 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.443, allocations: 199.8 kB / 0.5172 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.443, allocations: 7.281 kB / 0.5172 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.443, allocations: 6.094 kB / 0.5172 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4432, allocations: 74.94 kB / 0.5173 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4432, allocations: 3.938 kB / 0.5173 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4432, allocations: 2.5 kB / 0.5173 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4432, allocations: 0 / 0.5173 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.4434, allocations: 41.34 kB / 0.5173 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.4436, allocations: 195.8 kB / 0.5175 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.444, allocations: 114.9 kB / 0.5176 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.4441, allocations: 41.8 kB / 0.5177 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.4446, allocations: 138.4 kB / 0.5178 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4447, allocations: 45.11 kB / 0.5178 GB, free: 1.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4447, allocations: 0 / 0.5178 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003775/0.4451, allocations: 120.4 kB / 0.5179 GB, free: 1.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4451, allocations: 77.11 kB / 0.518 GB, free: 1.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4452, allocations: 138.4 kB / 0.5182 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.4453, allocations: 28.39 kB / 0.5182 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.4453, allocations: 83.64 kB / 0.5183 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.4453, allocations: 31.75 kB / 0.5183 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.4454, allocations: 25.16 kB / 0.5183 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4455, allocations: 325.7 kB / 0.5186 GB, free: 448 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.4456, allocations: 20.95 kB / 0.5186 GB, free: 444 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.4457, allocations: 47.95 kB / 0.5187 GB, free: 404 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4458, allocations: 83.75 kB / 0.5188 GB, free: 348 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4458, allocations: 0 / 0.5188 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.4461, allocations: 116 kB / 0.5189 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4461, allocations: 6.875 kB / 0.5189 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4461, allocations: 0 / 0.5189 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4461, allocations: 2.906 kB / 0.5189 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.4462, allocations: 14.06 kB / 0.5189 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.4462, allocations: 10.64 kB / 0.5189 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.4463, allocations: 6.156 kB / 0.5189 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4463, allocations: 2.938 kB / 0.5189 GB, free: 260 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 0.000111/0.4464, allocations: 114.2 kB / 0.519 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.4465, allocations: 11.88 kB / 0.519 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.4467, allocations: 120.2 kB / 0.5192 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4467, allocations: 2.344 kB / 0.5192 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4467, allocations: 0 / 0.5192 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4467, allocations: 0 / 0.5192 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.4469, allocations: 189.7 kB / 0.5193 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4469, allocations: 2.344 kB / 0.5193 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.447, allocations: 14.17 kB / 0.5194 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.447, allocations: 0.5625 kB / 0.5194 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.447, allocations: 2.562 kB / 0.5194 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4471, allocations: 0 / 0.5194 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4471, allocations: 3.938 kB / 0.5194 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.4474, allocations: 164.4 kB / 0.5195 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.4475, allocations: 94.11 kB / 0.5196 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.4475, allocations: 4 kB / 0.5196 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.4476, allocations: 6.984 kB / 0.5196 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.4476, allocations: 2.281 kB / 0.5196 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.4476, allocations: 2.531 kB / 0.5196 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.652e-05/0.4477, allocations: 114.6 kB / 0.5197 GB, free: 15.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4477, allocations: 0 / 0.5197 GB, free: 15.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006431/0.4483, allocations: 201.4 kB / 0.5199 GB, free: 15.46 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.001143/0.4495, allocations: 0.5262 MB / 0.5204 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4497, allocations: 63.58 kB / 0.5205 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4497, allocations: 0 / 0.5205 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.4498, allocations: 30.2 kB / 0.5205 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4501, allocations: 33.47 kB / 0.5206 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.4506, allocations: 305 kB / 0.5209 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.4508, allocations: 0.6886 MB / 0.5215 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.4509, allocations: 21.48 kB / 0.5215 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.4509, allocations: 14.84 kB / 0.5216 GB, free: 14.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4509, allocations: 0 / 0.5216 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Templates: time 0.01136/0.4623, allocations: 6.113 MB / 0.5275 GB, free: 8.48 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)