Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001157/0.001157, allocations: 195 kB / 18 MB, free: 5.074 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.325/1.325, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001142/0.001142, allocations: 47.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.0871, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002409/0.08957, allocations: 1.373 MB / 375.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3333/0.4229, allocations: 150.8 MB / 0.5143 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.423, allocations: 0 / 0.5143 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.4231, allocations: 11.92 kB / 0.5143 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.4244, allocations: 346.5 kB / 0.5146 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.4265, allocations: 0.809 MB / 0.5154 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.4266, allocations: 72.2 kB / 0.5155 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.4267, allocations: 4 kB / 0.5155 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.4267, allocations: 35.89 kB / 0.5155 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.4268, allocations: 31.8 kB / 0.5155 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.4268, allocations: 4 kB / 0.5155 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.4292, allocations: 1.407 MB / 0.5169 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.4293, allocations: 17.77 kB / 0.5169 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.4293, allocations: 23.88 kB / 0.517 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.4305, allocations: 0.861 MB / 0.5178 GB, free: 3.402 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4306, allocations: 0 / 0.5178 GB, free: 3.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.4306, allocations: 3.984 kB / 0.5178 GB, free: 3.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.4306, allocations: 0 / 0.5178 GB, free: 3.398 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.0006158/0.4312, allocations: 486.1 kB / 0.5183 GB, free: 2.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.4312, allocations: 8.031 kB / 0.5183 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.4316, allocations: 32.89 kB / 0.5183 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.4317, allocations: 204.2 kB / 0.5185 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4318, allocations: 4.562 kB / 0.5185 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.4318, allocations: 3.938 kB / 0.5185 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.432, allocations: 75.33 kB / 0.5186 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.432, allocations: 7.984 kB / 0.5186 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.432, allocations: 0 / 0.5186 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.432, allocations: 0 / 0.5186 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.4321, allocations: 35.97 kB / 0.5186 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.4323, allocations: 198.6 kB / 0.5188 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.4327, allocations: 113.1 kB / 0.5189 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.4327, allocations: 45.64 kB / 0.519 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000524/0.4333, allocations: 141 kB / 0.5191 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4333, allocations: 38.56 kB / 0.5191 GB, free: 1.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4333, allocations: 3.938 kB / 0.5191 GB, free: 1.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003664/0.4337, allocations: 121.6 kB / 0.5193 GB, free: 1.703 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4338, allocations: 81.05 kB / 0.5193 GB, free: 1.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.4339, allocations: 142.9 kB / 0.5195 GB, free: 1.457 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4339, allocations: 25.7 kB / 0.5195 GB, free: 1.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.434, allocations: 84.14 kB / 0.5196 GB, free: 1.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.434, allocations: 31.73 kB / 0.5196 GB, free: 1.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.4341, allocations: 21.72 kB / 0.5196 GB, free: 1.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4342, allocations: 322.8 kB / 0.5199 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.4342, allocations: 19.98 kB / 0.5199 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.4343, allocations: 47.42 kB / 0.52 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.4345, allocations: 87.34 kB / 0.5201 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4345, allocations: 0 / 0.5201 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002412/0.4347, allocations: 109.5 kB / 0.5202 GB, free: 0.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4348, allocations: 11.98 kB / 0.5202 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4348, allocations: 0 / 0.5202 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4348, allocations: 0 / 0.5202 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.4349, allocations: 15.94 kB / 0.5202 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4349, allocations: 8.062 kB / 0.5202 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.4349, allocations: 0 / 0.5202 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4349, allocations: 11.92 kB / 0.5202 GB, free: 0.6211 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 6.91e-05/0.435, allocations: 113.8 kB / 0.5203 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.4351, allocations: 11.89 kB / 0.5203 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.4353, allocations: 112.2 kB / 0.5205 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4353, allocations: 0 / 0.5205 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4354, allocations: 0 / 0.5205 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4354, allocations: 11.98 kB / 0.5205 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.4355, allocations: 182.5 kB / 0.5206 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4355, allocations: 0 / 0.5206 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.4356, allocations: 12.55 kB / 0.5206 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.4356, allocations: 4 kB / 0.5207 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-06/0.4356, allocations: 0 / 0.5207 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4356, allocations: 6.625 kB / 0.5207 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4356, allocations: 0 / 0.5207 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.436, allocations: 165.8 kB / 0.5208 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.436, allocations: 101 kB / 0.5209 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4361, allocations: 0 / 0.5209 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.4361, allocations: 7.938 kB / 0.5209 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.4362, allocations: 3.984 kB / 0.5209 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.4362, allocations: 4 kB / 0.5209 GB, free: 15.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.461e-05/0.4363, allocations: 116.2 kB / 0.521 GB, free: 15.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4363, allocations: 4.062 kB / 0.521 GB, free: 15.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005491/0.4368, allocations: 203.3 kB / 0.5212 GB, free: 15.48 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001128/0.438, allocations: 0.524 MB / 0.5217 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4382, allocations: 63.89 kB / 0.5218 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4382, allocations: 0 / 0.5218 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/0.4383, allocations: 31.98 kB / 0.5218 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.4385, allocations: 28.92 kB / 0.5219 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.439, allocations: 295.7 kB / 0.5222 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.4393, allocations: 0.6963 MB / 0.5228 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.4393, allocations: 20.42 kB / 0.5228 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.4394, allocations: 11.44 kB / 0.5229 GB, free: 13.76 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4394, allocations: 0 / 0.5229 GB, free: 13.76 MB / 462.1 MB Notification: Performance of Templates: time 0.01005/0.4494, allocations: 6.115 MB / 0.5288 GB, free: 7.645 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)