Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001466/0.001466, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00186/0.001861, allocations: 192 kB / 16.14 MB, free: 6.707 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.368/1.368, allocations: 205.1 MB / 222 MB, free: 4.965 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.00108/0.00108, allocations: 47.92 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2056, allocations: 46.63 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002113/0.2077, allocations: 1.415 MB / 326.1 MB, free: 0.6953 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3371/0.5448, allocations: 148.1 MB / 474.2 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.545, allocations: 0 / 474.2 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.5451, allocations: 3.328 kB / 474.2 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.5462, allocations: 205.5 kB / 474.4 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.5483, allocations: 0.5248 MB / 474.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.5484, allocations: 57.64 kB / 475 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.5485, allocations: 4.391 kB / 475 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.5485, allocations: 24.47 kB / 475 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.5486, allocations: 27.95 kB / 475 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.5486, allocations: 5.094 kB / 475 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.5501, allocations: 0.7928 MB / 475.8 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.5501, allocations: 10.62 kB / 475.8 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.5502, allocations: 22.17 kB / 475.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.5511, allocations: 0.6135 MB / 476.5 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5511, allocations: 0 / 476.5 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5511, allocations: 0 / 476.5 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.5511, allocations: 0 / 476.5 MB, free: 0.7188 MB / 382.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.0007575/0.5519, allocations: 452 kB / 476.9 MB, free: 16.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5519, allocations: 10.78 kB / 476.9 MB, free: 16.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.5531, allocations: 101.7 kB / 477 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.5534, allocations: 225.2 kB / 477.2 MB, free: 16.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5535, allocations: 4.781 kB / 477.3 MB, free: 16.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.5535, allocations: 7.438 kB / 477.3 MB, free: 16.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.5537, allocations: 94.67 kB / 477.4 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5537, allocations: 0 / 477.4 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.5537, allocations: 5.438 kB / 477.4 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5538, allocations: 2.125 kB / 477.4 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.5539, allocations: 45.09 kB / 477.4 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.5541, allocations: 210.9 kB / 477.6 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.5546, allocations: 128.2 kB / 477.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5547, allocations: 37.23 kB / 477.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006979/0.5554, allocations: 0.9877 MB / 478.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.5555, allocations: 45.05 kB / 478.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5555, allocations: 0 / 478.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005591/0.556, allocations: 121.8 kB / 478.9 MB, free: 14.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.5561, allocations: 82.98 kB / 479 MB, free: 14.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.5564, allocations: 154.9 kB / 479.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5564, allocations: 29.08 kB / 479.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.5565, allocations: 87.73 kB / 479.3 MB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.5566, allocations: 18.42 kB / 479.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.5566, allocations: 36.98 kB / 479.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5568, allocations: 317.3 kB / 479.6 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.5569, allocations: 26.67 kB / 479.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.557, allocations: 58.36 kB / 479.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.5573, allocations: 84.39 kB / 479.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5573, allocations: 3.938 kB / 479.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003208/0.5576, allocations: 116.7 kB / 479.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5576, allocations: 5.188 kB / 479.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5576, allocations: 7.312 kB / 479.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5577, allocations: 96 / 479.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.5578, allocations: 36.23 kB / 480 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5578, allocations: 0 / 480 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.558, allocations: 5.281 kB / 480 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.558, allocations: 9.547 kB / 480 MB, free: 13.79 MB / 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.352e-05/0.5581, allocations: 123.1 kB / 480.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.5582, allocations: 8.344 kB / 480.1 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.5587, allocations: 232.9 kB / 480.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.5588, allocations: 5.656 kB / 480.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5588, allocations: 0 / 480.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5588, allocations: 0 / 480.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.559, allocations: 224.3 kB / 480.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.559, allocations: 0 / 480.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.5592, allocations: 26.23 kB / 480.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5592, allocations: 0 / 480.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5592, allocations: 3.547 kB / 480.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5592, allocations: 0 / 480.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5592, allocations: 4.969 kB / 480.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.5596, allocations: 187.1 kB / 480.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.5597, allocations: 90.56 kB / 480.9 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.5598, allocations: 3.375 kB / 480.9 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.5599, allocations: 5.406 kB / 480.9 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.56, allocations: 8.969 kB / 480.9 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.56, allocations: 8.453 kB / 480.9 MB, free: 13.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.5602, allocations: 131.3 kB / 481 MB, free: 13.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5602, allocations: 4.062 kB / 481 MB, free: 13.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.5607, allocations: 171.7 kB / 481.2 MB, free: 13.14 MB / 398.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.0007879/0.5615, allocations: 390.3 kB / 481.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.5618, allocations: 79.88 kB / 481.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5618, allocations: 0 / 481.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5619, allocations: 43.8 kB / 481.7 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.5622, allocations: 16.61 kB / 481.7 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.5627, allocations: 314.2 kB / 482 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.5629, allocations: 0.6921 MB / 482.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004804/0.5634, allocations: 426.6 kB / 483.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.5636, allocations: 42.3 kB / 483.2 MB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5636, allocations: 0 / 483.2 MB, free: 12 MB / 398.1 MB Notification: Performance of Templates: time 0.00844/0.572, allocations: 5.978 MB / 489.1 MB, free: 11.36 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)