Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001019/0.001019, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001016/0.001016, allocations: 180.4 kB / 17.2 MB, free: 5.914 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.403/1.403, allocations: 205.4 MB / 223.4 MB, free: 5.297 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.0004635/0.0004636, allocations: 8 kB / 280.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 47.59 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00119/0.2372, allocations: 1.043 MB / 328.7 MB, free: 0.6055 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.1528/0.3901, allocations: 127.1 MB / 455.8 MB, free: 3.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.3902, allocations: 0 / 455.8 MB, free: 3.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.3903, allocations: 3.984 kB / 455.8 MB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000931/0.3912, allocations: 191.4 kB / 456 MB, free: 2.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3925, allocations: 478.8 kB / 456.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.3927, allocations: 39.94 kB / 456.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.3927, allocations: 3.984 kB / 456.5 MB, free: 2.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.3928, allocations: 23.92 kB / 456.6 MB, free: 2.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.3928, allocations: 27.91 kB / 456.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.3929, allocations: 0 / 456.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.3943, allocations: 0.6319 MB / 457.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.3943, allocations: 19.91 kB / 457.2 MB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.3943, allocations: 33.7 kB / 457.3 MB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.395, allocations: 348.6 kB / 457.6 MB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.395, allocations: 0 / 457.6 MB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.395, allocations: 0 / 457.6 MB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.395, allocations: 0 / 457.6 MB, free: 1.262 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.0005404/0.3955, allocations: 435.2 kB / 458 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3956, allocations: 8.031 kB / 458.1 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.3966, allocations: 95.77 kB / 458.1 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.3969, allocations: 222.9 kB / 458.4 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3969, allocations: 0 / 458.4 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3969, allocations: 7.938 kB / 458.4 MB, free: 432 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.3972, allocations: 95.31 kB / 458.5 MB, free: 324 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3972, allocations: 3.938 kB / 458.5 MB, free: 320 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3972, allocations: 4 kB / 458.5 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3972, allocations: 0 / 458.5 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3974, allocations: 51.89 kB / 458.5 MB, free: 264 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.3976, allocations: 207.9 kB / 458.7 MB, free: 0 / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1464/0.544, allocations: 117.2 kB / 458.8 MB, free: 128.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.5445, allocations: 0.9735 MB / 459.8 MB, free: 127 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.5445, allocations: 36.2 kB / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.5445, allocations: 0.5 kB / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004993/0.5451, allocations: 131.8 kB / 460 MB, free: 126.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.5451, allocations: 83.81 kB / 460.1 MB, free: 126.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.5453, allocations: 152.3 kB / 460.2 MB, free: 126.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.5453, allocations: 27.3 kB / 460.2 MB, free: 126.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.5454, allocations: 84.14 kB / 460.3 MB, free: 126.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.5454, allocations: 27.09 kB / 460.3 MB, free: 126.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.5454, allocations: 0.875 kB / 460.3 MB, free: 126.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.5455, allocations: 320 kB / 460.7 MB, free: 126.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5456, allocations: 25.27 kB / 460.7 MB, free: 126.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5457, allocations: 54.03 kB / 460.7 MB, free: 126.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.5458, allocations: 28.11 kB / 460.8 MB, free: 126.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5459, allocations: 0.5625 kB / 460.8 MB, free: 126.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003555/0.5462, allocations: 127.9 kB / 460.9 MB, free: 126.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5462, allocations: 6.812 kB / 460.9 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5463, allocations: 1.531 kB / 460.9 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5463, allocations: 1.281 kB / 460.9 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.5464, allocations: 25.31 kB / 460.9 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5464, allocations: 2.641 kB / 460.9 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5466, allocations: 8.547 kB / 460.9 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.5467, allocations: 9.25 kB / 460.9 MB, free: 126.2 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.5467, allocations: 117.3 kB / 461.1 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.5468, allocations: 4.328 kB / 461.1 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.5474, allocations: 243.6 kB / 461.3 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.5474, allocations: 9.406 kB / 461.3 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5474, allocations: 1.844 kB / 461.3 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5474, allocations: 0.5 kB / 461.3 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.5476, allocations: 219.4 kB / 461.5 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5476, allocations: 0.625 kB / 461.5 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.5478, allocations: 20.11 kB / 461.5 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5478, allocations: 1.031 kB / 461.5 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.5478, allocations: 3.781 kB / 461.5 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5478, allocations: 4.406 kB / 461.6 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5478, allocations: 4.562 kB / 461.6 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.5482, allocations: 189.4 kB / 461.7 MB, free: 125.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.5483, allocations: 100.4 kB / 461.8 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.5484, allocations: 4.969 kB / 461.8 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.5485, allocations: 8.75 kB / 461.9 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.5486, allocations: 7.859 kB / 461.9 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.5486, allocations: 2.594 kB / 461.9 MB, free: 125.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.5487, allocations: 135 kB / 462 MB, free: 125.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5488, allocations: 0 / 462 MB, free: 125.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.5494, allocations: 168.4 kB / 462.2 MB, free: 125.5 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007975/0.5502, allocations: 379.4 kB / 462.5 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.5504, allocations: 74.81 kB / 462.6 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5504, allocations: 4.125 kB / 462.6 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.5505, allocations: 41.59 kB / 462.6 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.5507, allocations: 18.64 kB / 462.7 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.5512, allocations: 369.2 kB / 463 MB, free: 125.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.5513, allocations: 0.694 MB / 463.7 MB, free: 124.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.5518, allocations: 429.7 kB / 464.1 MB, free: 124.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.5519, allocations: 41.8 kB / 464.2 MB, free: 124.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.552, allocations: 0 / 464.2 MB, free: 124.1 MB / 382.1 MB Notification: Performance of Templates: time 0.008608/0.5606, allocations: 5.878 MB / 470.1 MB, free: 120.3 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) Environment - environmentSimulation: