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.00116/0.00116, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.58 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 8 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2918, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.557, allocations: 498.4 MB / 0.8788 GB, free: 129.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.558, allocations: 76.11 kB / 0.8789 GB, free: 129.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06532/1.623, allocations: 31.28 MB / 0.9094 GB, free: 120 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.623, allocations: 0 / 0.9094 GB, free: 120 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/1.623, allocations: 4 kB / 0.9094 GB, free: 120 MB / 458.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.0005575/1.624, allocations: 425.8 kB / 0.9098 GB, free: 119.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.624, allocations: 16.02 kB / 0.9098 GB, free: 119.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/1.625, allocations: 91.03 kB / 0.9099 GB, free: 119.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/1.625, allocations: 229.5 kB / 0.9102 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/1.625, allocations: 0 / 0.9102 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/1.625, allocations: 4 kB / 0.9102 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/1.625, allocations: 86.33 kB / 0.9102 GB, free: 119.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.625, allocations: 3.938 kB / 0.9102 GB, free: 119.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.625, allocations: 8 kB / 0.9103 GB, free: 119.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.625, allocations: 0 / 0.9103 GB, free: 119.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/1.625, allocations: 42.45 kB / 0.9103 GB, free: 119.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/1.626, allocations: 212.9 kB / 0.9105 GB, free: 118.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/1.626, allocations: 124.4 kB / 0.9106 GB, free: 118.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/1.627, allocations: 1.635 MB / 0.9122 GB, free: 116.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/1.627, allocations: 34.56 kB / 0.9122 GB, free: 116.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/1.627, allocations: 0 / 0.9122 GB, free: 116.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004358/1.627, allocations: 130.2 kB / 0.9124 GB, free: 116.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/1.627, allocations: 77.11 kB / 0.9124 GB, free: 116.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/1.628, allocations: 159 kB / 0.9126 GB, free: 116.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/1.628, allocations: 25.7 kB / 0.9126 GB, free: 116.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/1.628, allocations: 83.39 kB / 0.9127 GB, free: 116.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/1.628, allocations: 23.34 kB / 0.9127 GB, free: 116.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/1.628, allocations: 3.938 kB / 0.9127 GB, free: 116.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.95e-05/1.628, allocations: 322.5 kB / 0.913 GB, free: 115.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/1.628, allocations: 27.41 kB / 0.9131 GB, free: 115.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/1.628, allocations: 50.67 kB / 0.9131 GB, free: 115.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/1.628, allocations: 31.34 kB / 0.9131 GB, free: 115.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.628, allocations: 0 / 0.9131 GB, free: 115.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002731/1.628, allocations: 126 kB / 0.9133 GB, free: 115.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.628, allocations: 4 kB / 0.9133 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.628, allocations: 4 kB / 0.9133 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.628, allocations: 4.062 kB / 0.9133 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/1.629, allocations: 27.91 kB / 0.9133 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.629, allocations: 3.984 kB / 0.9133 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/1.629, allocations: 11.34 kB / 0.9133 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/1.629, allocations: 7.984 kB / 0.9133 GB, free: 115.6 MB / 458.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 () * 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.533e-05/1.629, allocations: 113.2 kB / 0.9134 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/1.629, allocations: 3.953 kB / 0.9134 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/1.629, allocations: 245.3 kB / 0.9137 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.629, allocations: 11.92 kB / 0.9137 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.629, allocations: 0 / 0.9137 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.629, allocations: 0 / 0.9137 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/1.63, allocations: 208.2 kB / 0.9139 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.63, allocations: 0 / 0.9139 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/1.63, allocations: 27.33 kB / 0.9139 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.63, allocations: 11.95 kB / 0.9139 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.63, allocations: 0 / 0.9139 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.63, allocations: 0 / 0.9139 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.63, allocations: 64 / 0.9139 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/1.63, allocations: 199.6 kB / 0.9141 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/1.63, allocations: 104 kB / 0.9142 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/1.63, allocations: 0 / 0.9142 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.63, allocations: 7.5 kB / 0.9142 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/1.63, allocations: 7.984 kB / 0.9142 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.631, allocations: 4 kB / 0.9142 GB, free: 114.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001361/1.631, allocations: 129.6 kB / 0.9143 GB, free: 114.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.631, allocations: 0 / 0.9143 GB, free: 114.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006918/1.631, allocations: 174 kB / 0.9145 GB, free: 114.4 MB / 458.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 () * 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.001092/1.632, allocations: 0.717 MB / 0.9152 GB, free: 113.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002674/1.633, allocations: 78.56 kB / 0.9153 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.633, allocations: 0 / 0.9153 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.633, allocations: 35.41 kB / 0.9153 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/1.633, allocations: 14.38 kB / 0.9153 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/1.634, allocations: 364 kB / 0.9157 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/1.634, allocations: 0.6926 MB / 0.9164 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004883/1.634, allocations: 434.9 kB / 0.9168 GB, free: 112.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.634, allocations: 42.83 kB / 0.9168 GB, free: 112.1 MB / 458.7 MB Notification: Performance of SimCode: time 3.51e-07/1.634, allocations: 0 / 0.9168 GB, free: 112.1 MB / 458.7 MB Notification: Performance of Templates: time 0.01427/1.649, allocations: 11.26 MB / 0.9278 GB, free: 100.8 MB / 458.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)