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.001579/0.001579, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.00171/0.00171, allocations: 191 kB / 18 MB, free: 5.207 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.319/1.319, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001382/0.001382, allocations: 51.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.08238, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00207/0.08449, allocations: 1.353 MB / 375.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3136/0.3981, allocations: 150.4 MB / 0.5139 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.3982, allocations: 4 kB / 0.5139 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.3983, allocations: 3.938 kB / 0.5139 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3993, allocations: 234.8 kB / 0.5141 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.4011, allocations: 0.6322 MB / 0.5147 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.4012, allocations: 59.59 kB / 0.5148 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.4013, allocations: 7.984 kB / 0.5148 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.4013, allocations: 23.92 kB / 0.5148 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.4014, allocations: 27.91 kB / 0.5148 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.4014, allocations: 0 / 0.5148 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.403, allocations: 0.8811 MB / 0.5157 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.403, allocations: 15.97 kB / 0.5157 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.4031, allocations: 19.88 kB / 0.5157 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.4042, allocations: 0.6081 MB / 0.5163 GB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4042, allocations: 0 / 0.5163 GB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4042, allocations: 0 / 0.5163 GB, free: 4.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.4042, allocations: 0 / 0.5163 GB, free: 4.93 MB / 446.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.0006004/0.4048, allocations: 455.8 kB / 0.5167 GB, free: 4.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4049, allocations: 8.031 kB / 0.5168 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.406, allocations: 100.6 kB / 0.5168 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4063, allocations: 220.5 kB / 0.5171 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4063, allocations: 3.938 kB / 0.5171 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.4063, allocations: 8 kB / 0.5171 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.4066, allocations: 91.27 kB / 0.5172 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4066, allocations: 0 / 0.5172 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4066, allocations: 0 / 0.5172 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4066, allocations: 8 kB / 0.5172 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.4068, allocations: 39.95 kB / 0.5172 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.407, allocations: 206.8 kB / 0.5174 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.4076, allocations: 133.1 kB / 0.5175 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4077, allocations: 37.69 kB / 0.5176 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006028/0.4083, allocations: 0.9862 MB / 0.5185 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4083, allocations: 30.56 kB / 0.5186 GB, free: 2.227 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4083, allocations: 4 kB / 0.5186 GB, free: 2.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005345/0.4089, allocations: 125.5 kB / 0.5187 GB, free: 2.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.4089, allocations: 85.11 kB / 0.5188 GB, free: 1.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.4092, allocations: 157.7 kB / 0.5189 GB, free: 1.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4092, allocations: 25.7 kB / 0.5189 GB, free: 1.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.4092, allocations: 88.14 kB / 0.519 GB, free: 1.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.4093, allocations: 23.66 kB / 0.519 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.4093, allocations: 25.69 kB / 0.5191 GB, free: 1.652 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.4094, allocations: 322.8 kB / 0.5194 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4095, allocations: 27.97 kB / 0.5194 GB, free: 1.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4097, allocations: 51.41 kB / 0.5194 GB, free: 1.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.4099, allocations: 91.69 kB / 0.5195 GB, free: 1.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4099, allocations: 7.938 kB / 0.5195 GB, free: 1.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003391/0.4103, allocations: 121.5 kB / 0.5197 GB, free: 1.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4103, allocations: 4 kB / 0.5197 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4103, allocations: 0 / 0.5197 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4103, allocations: 4 kB / 0.5197 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4105, allocations: 27.89 kB / 0.5197 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4105, allocations: 4 kB / 0.5197 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.4107, allocations: 8.062 kB / 0.5197 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.4107, allocations: 11.98 kB / 0.5197 GB, free: 0.9453 MB / 446.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 7.663e-05/0.4108, allocations: 117.7 kB / 0.5198 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.4108, allocations: 7.906 kB / 0.5198 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.4114, allocations: 234.3 kB / 0.5201 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4114, allocations: 3.984 kB / 0.5201 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4114, allocations: 4 kB / 0.5201 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4114, allocations: 8.75 kB / 0.5201 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.4116, allocations: 214.9 kB / 0.5203 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4116, allocations: 0 / 0.5203 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4118, allocations: 23.97 kB / 0.5203 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4118, allocations: 3.984 kB / 0.5203 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4118, allocations: 4 kB / 0.5203 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4118, allocations: 2.375 kB / 0.5203 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4118, allocations: 4 kB / 0.5203 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.4123, allocations: 181.7 kB / 0.5205 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.4123, allocations: 89 kB / 0.5206 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.4124, allocations: 4 kB / 0.5206 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4126, allocations: 8.047 kB / 0.5206 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4126, allocations: 8 kB / 0.5206 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.4126, allocations: 3.984 kB / 0.5206 GB, free: 15.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.4128, allocations: 133.7 kB / 0.5207 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4128, allocations: 0 / 0.5207 GB, free: 15.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005118/0.4133, allocations: 171.9 kB / 0.5209 GB, free: 15.65 MB / 462.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.0007328/0.4141, allocations: 396.6 kB / 0.5213 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.4144, allocations: 71.94 kB / 0.5213 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4144, allocations: 3.938 kB / 0.5213 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4145, allocations: 35.97 kB / 0.5214 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.4147, allocations: 16.62 kB / 0.5214 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.4153, allocations: 307.1 kB / 0.5217 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.4155, allocations: 0.6846 MB / 0.5224 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004916/0.416, allocations: 443.8 kB / 0.5228 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.4161, allocations: 39.39 kB / 0.5228 GB, free: 13.62 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4161, allocations: 0 / 0.5228 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Templates: time 0.009306/0.4254, allocations: 6.118 MB / 0.5288 GB, free: 7.504 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (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)