Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 174.3 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB 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: 92.3 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.427e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 50.43 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.401, allocations: 497.7 MB / 0.8644 GB, free: 19.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.402, allocations: 82.19 kB / 0.8645 GB, free: 19.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3542/1.756, allocations: 30.68 MB / 0.8944 GB, free: 148.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.313e-06/1.756, allocations: 0 / 0.8944 GB, free: 148.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/1.756, allocations: 1.406 kB / 0.8944 GB, free: 148.9 MB / 442.7 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.000561/1.757, allocations: 413.4 kB / 0.8948 GB, free: 148.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.757, allocations: 11.53 kB / 0.8948 GB, free: 148.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/1.757, allocations: 86.03 kB / 0.8949 GB, free: 148.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.758, allocations: 196.1 kB / 0.8951 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/1.758, allocations: 1.25 kB / 0.8951 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/1.758, allocations: 4.469 kB / 0.8951 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.076e-05/1.758, allocations: 25.64 kB / 0.8951 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.758, allocations: 73.33 kB / 0.8952 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.758, allocations: 0.625 kB / 0.8952 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/1.758, allocations: 0 / 0.8952 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/1.758, allocations: 3.531 kB / 0.8952 GB, free: 148.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/1.758, allocations: 172.8 kB / 0.8954 GB, free: 148.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/1.758, allocations: 91.14 kB / 0.8954 GB, free: 148.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/1.758, allocations: 26.19 kB / 0.8955 GB, free: 148.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/1.759, allocations: 1.639 MB / 0.8971 GB, free: 146.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/1.759, allocations: 35.88 kB / 0.8971 GB, free: 146.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/1.759, allocations: 0 / 0.8971 GB, free: 146.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005403/1.76, allocations: 122.2 kB / 0.8972 GB, free: 146.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/1.76, allocations: 85.34 kB / 0.8973 GB, free: 146 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/1.76, allocations: 120 kB / 0.8974 GB, free: 145.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/1.76, allocations: 26.3 kB / 0.8974 GB, free: 145.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.25e-05/1.76, allocations: 83.52 kB / 0.8975 GB, free: 145.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/1.76, allocations: 22.7 kB / 0.8975 GB, free: 145.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/1.76, allocations: 0 / 0.8975 GB, free: 145.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/1.76, allocations: 318.5 kB / 0.8978 GB, free: 145.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/1.76, allocations: 16.62 kB / 0.8979 GB, free: 145.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/1.76, allocations: 42.72 kB / 0.8979 GB, free: 145.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/1.761, allocations: 72.2 kB / 0.898 GB, free: 145.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.761, allocations: 0 / 0.898 GB, free: 145.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004458/1.761, allocations: 141 kB / 0.8981 GB, free: 145.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.761, allocations: 5.5 kB / 0.8981 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.761, allocations: 1.031 kB / 0.8981 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.761, allocations: 2.188 kB / 0.8981 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/1.761, allocations: 16.73 kB / 0.8981 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/1.761, allocations: 1.719 kB / 0.8981 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/1.761, allocations: 14.11 kB / 0.8981 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/1.761, allocations: 6.688 kB / 0.8982 GB, free: 145.4 MB / 442.7 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 () * 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 5.762e-05/1.761, allocations: 105 kB / 0.8983 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/1.761, allocations: 7.125 kB / 0.8983 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/1.762, allocations: 162.3 kB / 0.8984 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.762, allocations: 4.031 kB / 0.8984 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/1.762, allocations: 2.156 kB / 0.8984 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.762, allocations: 1.188 kB / 0.8984 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/1.762, allocations: 155.9 kB / 0.8986 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.762, allocations: 0 / 0.8986 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/1.762, allocations: 18.06 kB / 0.8986 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.762, allocations: 1.281 kB / 0.8986 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.762, allocations: 3.594 kB / 0.8986 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.762, allocations: 3.469 kB / 0.8986 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.762, allocations: 1.25 kB / 0.8986 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/1.763, allocations: 198.8 kB / 0.8988 GB, free: 145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/1.763, allocations: 97.77 kB / 0.8989 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/1.763, allocations: 2.406 kB / 0.8989 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.763, allocations: 8.484 kB / 0.8989 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/1.763, allocations: 6.422 kB / 0.8989 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.763, allocations: 2.188 kB / 0.8989 GB, free: 144.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.32e-05/1.763, allocations: 107.6 kB / 0.899 GB, free: 144.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.763, allocations: 1.5 kB / 0.899 GB, free: 144.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000683/1.764, allocations: 163.9 kB / 0.8992 GB, free: 144.8 MB / 442.7 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 () * 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 (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.001348/1.765, allocations: 0.7854 MB / 0.8999 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/1.766, allocations: 46.19 kB / 0.9 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.766, allocations: 0 / 0.9 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/1.766, allocations: 24.5 kB / 0.9 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/1.766, allocations: 12.23 kB / 0.9 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/1.766, allocations: 222.7 kB / 0.9002 GB, free: 144.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.766, allocations: 0.6876 MB / 0.9009 GB, free: 143.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/1.767, allocations: 44.14 kB / 0.9009 GB, free: 143.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/1.767, allocations: 28.08 kB / 0.901 GB, free: 143.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/1.767, allocations: 0 / 0.901 GB, free: 143.8 MB / 442.7 MB Notification: Performance of Templates: time 0.01149/1.778, allocations: 6.472 MB / 0.9073 GB, free: 142.9 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)