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.001002/0.001002, allocations: 100 kB / 15.05 MB, free: 1.105 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.001081/0.001082, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.000422/0.000422, allocations: 8 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2119, allocations: 47.59 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001068/0.213, allocations: 1.04 MB / 327.5 MB, free: 0.5938 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.137/0.35, allocations: 127.1 MB / 454.6 MB, free: 3.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.3501, allocations: 0 / 454.6 MB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.3501, allocations: 0 / 454.6 MB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007065/0.3508, allocations: 195.4 kB / 454.8 MB, free: 2.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3518, allocations: 474.8 kB / 455.2 MB, free: 2.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.3519, allocations: 35.94 kB / 455.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.352, allocations: 7.984 kB / 455.3 MB, free: 2.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.352, allocations: 23.92 kB / 455.3 MB, free: 2.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.3521, allocations: 27.91 kB / 455.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.3521, allocations: 0 / 455.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3533, allocations: 0.6397 MB / 456 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.3533, allocations: 11.92 kB / 456 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.3533, allocations: 33.7 kB / 456 MB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.3538, allocations: 348.7 kB / 456.4 MB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3538, allocations: 0 / 456.4 MB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3538, allocations: 0 / 456.4 MB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.3539, allocations: 0 / 456.4 MB, free: 1.266 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.0004964/0.3544, allocations: 435.2 kB / 456.8 MB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3544, allocations: 16.03 kB / 456.8 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.3554, allocations: 91.77 kB / 456.9 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3557, allocations: 222.9 kB / 457.1 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3557, allocations: 0 / 457.1 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3558, allocations: 7.938 kB / 457.1 MB, free: 432 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.356, allocations: 91.33 kB / 457.2 MB, free: 328 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.356, allocations: 0 / 457.2 MB, free: 328 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.356, allocations: 4 kB / 457.2 MB, free: 324 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.356, allocations: 0 / 457.2 MB, free: 324 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.3562, allocations: 51.89 kB / 457.3 MB, free: 272 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.3564, allocations: 207.9 kB / 457.5 MB, free: 8 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.147/0.5034, allocations: 122.2 kB / 457.6 MB, free: 128.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/0.5039, allocations: 0.9747 MB / 458.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.5039, allocations: 36.91 kB / 458.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.5039, allocations: 0 / 458.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004997/0.5044, allocations: 130.6 kB / 458.7 MB, free: 126.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5045, allocations: 79.67 kB / 458.8 MB, free: 126.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.5047, allocations: 156.2 kB / 458.9 MB, free: 126.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.5047, allocations: 30.17 kB / 459 MB, free: 126.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.5048, allocations: 88.39 kB / 459.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.5048, allocations: 22.84 kB / 459.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.5048, allocations: 2.094 kB / 459.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.5049, allocations: 323.6 kB / 459.4 MB, free: 126.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.505, allocations: 24.52 kB / 459.4 MB, free: 126.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.5051, allocations: 51.14 kB / 459.5 MB, free: 126.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.5052, allocations: 29.62 kB / 459.5 MB, free: 126.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5052, allocations: 2.75 kB / 459.5 MB, free: 126.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003246/0.5056, allocations: 118.2 kB / 459.6 MB, free: 126.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5056, allocations: 10.23 kB / 459.6 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5056, allocations: 1.531 kB / 459.6 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5056, allocations: 1.688 kB / 459.6 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.5058, allocations: 27.72 kB / 459.7 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.5058, allocations: 2.312 kB / 459.7 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.506, allocations: 8.016 kB / 459.7 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.506, allocations: 9.438 kB / 459.7 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.208e-05/0.5061, allocations: 115.8 kB / 459.8 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.5061, allocations: 6.641 kB / 459.8 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.5067, allocations: 243.8 kB / 460 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5067, allocations: 4.391 kB / 460 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5067, allocations: 2.469 kB / 460 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5067, allocations: 0.5312 kB / 460 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.5069, allocations: 215.1 kB / 460.3 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5069, allocations: 1.094 kB / 460.3 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.5071, allocations: 24.09 kB / 460.3 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5071, allocations: 4.172 kB / 460.3 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5071, allocations: 6.016 kB / 460.3 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5071, allocations: 1 kB / 460.3 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5071, allocations: 1.047 kB / 460.3 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.5075, allocations: 194 kB / 460.5 MB, free: 125.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.5076, allocations: 96.8 kB / 460.6 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.5077, allocations: 4.719 kB / 460.6 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.5078, allocations: 2.906 kB / 460.6 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.5079, allocations: 14.8 kB / 460.6 MB, free: 125.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.5079, allocations: 7.297 kB / 460.6 MB, free: 125.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.5081, allocations: 126.5 kB / 460.7 MB, free: 125.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5081, allocations: 0.5938 kB / 460.7 MB, free: 125.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000599/0.5087, allocations: 169.1 kB / 460.9 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.0007359/0.5094, allocations: 382.1 kB / 461.3 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.5097, allocations: 82.34 kB / 461.3 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5097, allocations: 0 / 461.3 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.5098, allocations: 36.73 kB / 461.4 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.0001516/0.51, allocations: 13.52 kB / 461.4 MB, free: 125.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.5104, allocations: 368.8 kB / 461.8 MB, free: 125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.841e-05/0.5105, allocations: 0.6981 MB / 462.5 MB, free: 124.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005108/0.5111, allocations: 430.5 kB / 462.9 MB, free: 124.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.5112, allocations: 41.58 kB / 462.9 MB, free: 124.1 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5112, allocations: 0 / 462.9 MB, free: 124.1 MB / 382.1 MB Notification: Performance of Templates: time 0.008125/0.5193, allocations: 5.878 MB / 468.8 MB, free: 120.2 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: