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.001433/0.001433, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001192/0.001192, allocations: 59.92 kB / 278.7 MB, free: 12.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2099, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002187/0.2122, allocations: 1.36 MB / 326.7 MB, free: 0.7734 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3296/0.5418, allocations: 150.3 MB / 477 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.542, allocations: 2.594 kB / 477 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.542, allocations: 6.094 kB / 477 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007851/0.5428, allocations: 239.1 kB / 477.3 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.544, allocations: 0.6247 MB / 477.9 MB, free: 500 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.5441, allocations: 55.27 kB / 477.9 MB, free: 500 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.5441, allocations: 5.031 kB / 477.9 MB, free: 500 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.5442, allocations: 30.25 kB / 478 MB, free: 496 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.5443, allocations: 30.56 kB / 478 MB, free: 496 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.5443, allocations: 3.609 kB / 478 MB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.5455, allocations: 0.7951 MB / 478.8 MB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.5455, allocations: 11.38 kB / 478.8 MB, free: 484 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.5455, allocations: 19.66 kB / 478.8 MB, free: 484 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008012/0.5464, allocations: 0.6025 MB / 479.4 MB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5464, allocations: 3.406 kB / 479.4 MB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5464, allocations: 1.094 kB / 479.4 MB, free: 456 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.5464, allocations: 4 kB / 479.4 MB, free: 452 kB / 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.0005511/0.5469, allocations: 444.2 kB / 479.9 MB, free: 16.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.547, allocations: 10.19 kB / 479.9 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.548, allocations: 98.8 kB / 480 MB, free: 16.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.5483, allocations: 221.4 kB / 480.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.5483, allocations: 14.97 kB / 480.2 MB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.5484, allocations: 9.406 kB / 480.2 MB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.5486, allocations: 87.56 kB / 480.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.5486, allocations: 0 / 480.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.5486, allocations: 0 / 480.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5486, allocations: 0 / 480.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.5488, allocations: 52.88 kB / 480.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.549, allocations: 211.7 kB / 480.6 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.5495, allocations: 124.5 kB / 480.7 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5496, allocations: 37.75 kB / 480.7 MB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/0.5503, allocations: 0.9864 MB / 481.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.5503, allocations: 39.08 kB / 481.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5503, allocations: 0 / 481.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000508/0.5508, allocations: 126 kB / 481.9 MB, free: 14.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.5509, allocations: 80.2 kB / 481.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.5511, allocations: 157.9 kB / 482.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5512, allocations: 33.98 kB / 482.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.5512, allocations: 85.36 kB / 482.2 MB, free: 13.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.5513, allocations: 18.34 kB / 482.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.5513, allocations: 37.53 kB / 482.3 MB, free: 13.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5514, allocations: 314.1 kB / 482.6 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.5516, allocations: 25.42 kB / 482.6 MB, free: 13.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.5517, allocations: 59.92 kB / 482.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.5519, allocations: 83.2 kB / 482.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5519, allocations: 3.938 kB / 482.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003309/0.5523, allocations: 123.5 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5523, allocations: 4.391 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5523, allocations: 2.438 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5523, allocations: 2.406 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.5524, allocations: 27.72 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5525, allocations: 3.375 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.5526, allocations: 6.406 kB / 482.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5527, allocations: 11.64 kB / 482.9 MB, free: 13.52 MB / 398.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 0.000104/0.5528, allocations: 111.6 kB / 483 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.5528, allocations: 14.59 kB / 483 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.5534, allocations: 228.7 kB / 483.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5535, allocations: 5.375 kB / 483.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5535, allocations: 5.203 kB / 483.3 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5535, allocations: 2.688 kB / 483.3 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.5537, allocations: 221.2 kB / 483.5 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5537, allocations: 5.344 kB / 483.5 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.5539, allocations: 16.59 kB / 483.5 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5539, allocations: 5.75 kB / 483.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.5539, allocations: 10.44 kB / 483.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5539, allocations: 3.188 kB / 483.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5539, allocations: 0 / 483.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.5543, allocations: 188.7 kB / 483.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.5544, allocations: 92.66 kB / 483.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.5545, allocations: 3.5 kB / 483.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.5546, allocations: 2.781 kB / 483.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.5547, allocations: 10.77 kB / 483.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5547, allocations: 3.188 kB / 483.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.5549, allocations: 133.6 kB / 484 MB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5549, allocations: 0 / 484 MB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00049/0.5554, allocations: 172.5 kB / 484.1 MB, free: 12.86 MB / 398.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.0007404/0.5561, allocations: 396.6 kB / 484.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.5564, allocations: 78.33 kB / 484.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5564, allocations: 0 / 484.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.5565, allocations: 39.72 kB / 484.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.5567, allocations: 17.86 kB / 484.6 MB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.5573, allocations: 299.8 kB / 484.9 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.5576, allocations: 0.6903 MB / 485.6 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.5581, allocations: 435.3 kB / 486.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.5582, allocations: 41.28 kB / 486.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5582, allocations: 0 / 486.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of Templates: time 0.009835/0.568, allocations: 6.119 MB / 492.2 MB, free: 11.08 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (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)