Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007591/0.007591, allocations: 165.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.309/1.309, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00178/0.00178, allocations: 118.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003626, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.6303, allocations: 181.8 MB / 494.7 MB, free: 16.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6306, allocations: 74.59 kB / 494.8 MB, free: 16.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08584/0.7165, allocations: 36.37 MB / 0.5187 GB, free: 0.9922 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7165, allocations: 0 / 0.5187 GB, free: 0.9922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.7165, allocations: 0 / 0.5187 GB, free: 0.9922 MB / 330.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.0009737/0.7175, allocations: 0.5025 MB / 0.5192 GB, free: 452 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7176, allocations: 8.031 kB / 0.5192 GB, free: 444 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.7176, allocations: 4 kB / 0.5192 GB, free: 440 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.7178, allocations: 183 kB / 0.5194 GB, free: 216 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.7179, allocations: 7.938 kB / 0.5194 GB, free: 208 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.7179, allocations: 7.953 kB / 0.5194 GB, free: 200 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.7181, allocations: 63.33 kB / 0.5194 GB, free: 124 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7181, allocations: 0 / 0.5194 GB, free: 124 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.7181, allocations: 8 kB / 0.5194 GB, free: 116 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.7181, allocations: 0 / 0.5194 GB, free: 116 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.7182, allocations: 19.98 kB / 0.5195 GB, free: 96 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.7184, allocations: 170.6 kB / 0.5196 GB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.7187, allocations: 81.22 kB / 0.5197 GB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.7201, allocations: 1.821 MB / 0.5215 GB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.7202, allocations: 38.52 kB / 0.5215 GB, free: 13.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.7202, allocations: 3.938 kB / 0.5215 GB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000287/0.7205, allocations: 77.66 kB / 0.5216 GB, free: 13.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.7205, allocations: 84.98 kB / 0.5217 GB, free: 13.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7207, allocations: 109 kB / 0.5218 GB, free: 13.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.7207, allocations: 25.7 kB / 0.5218 GB, free: 13.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.7207, allocations: 84.14 kB / 0.5219 GB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.7208, allocations: 23.64 kB / 0.5219 GB, free: 13.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.7208, allocations: 4 kB / 0.5219 GB, free: 13.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7209, allocations: 310.8 kB / 0.5222 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.721, allocations: 15.98 kB / 0.5222 GB, free: 12.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.7211, allocations: 47.41 kB / 0.5223 GB, free: 12.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.7211, allocations: 15.98 kB / 0.5223 GB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7211, allocations: 0 / 0.5223 GB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001726/0.7213, allocations: 85.45 kB / 0.5224 GB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7214, allocations: 8 kB / 0.5224 GB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7214, allocations: 3.953 kB / 0.5224 GB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.7214, allocations: 4.062 kB / 0.5224 GB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.7215, allocations: 15.98 kB / 0.5224 GB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.7215, allocations: 4 kB / 0.5224 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.7215, allocations: 4 kB / 0.5224 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.7215, allocations: 4 kB / 0.5224 GB, free: 12.52 MB / 346.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 8.672e-05/0.7216, allocations: 109.8 kB / 0.5225 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.7217, allocations: 7.891 kB / 0.5225 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.722, allocations: 134.1 kB / 0.5226 GB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.722, allocations: 3.953 kB / 0.5226 GB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.722, allocations: 3.938 kB / 0.5226 GB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.722, allocations: 0 / 0.5226 GB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.7222, allocations: 173.6 kB / 0.5228 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.7222, allocations: 4 kB / 0.5228 GB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.7223, allocations: 11.98 kB / 0.5228 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7223, allocations: 0 / 0.5228 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7223, allocations: 8 kB / 0.5228 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7223, allocations: 0 / 0.5228 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7223, allocations: 3.953 kB / 0.5228 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.7226, allocations: 148.2 kB / 0.523 GB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.7227, allocations: 96.98 kB / 0.5231 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.7228, allocations: 4.062 kB / 0.5231 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.7228, allocations: 7.953 kB / 0.5231 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.7229, allocations: 7.984 kB / 0.5231 GB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7229, allocations: 7.984 kB / 0.5231 GB, free: 11.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.7229, allocations: 91.27 kB / 0.5232 GB, free: 11.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7229, allocations: 0 / 0.5232 GB, free: 11.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006718/0.7236, allocations: 195.6 kB / 0.5234 GB, free: 11.41 MB / 346.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 (7): * Single equations (assignments): 6 * 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.0008417/0.7245, allocations: 371.4 kB / 0.5237 GB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.7247, allocations: 48.73 kB / 0.5238 GB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7247, allocations: 0 / 0.5238 GB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.7248, allocations: 39.91 kB / 0.5238 GB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.725, allocations: 4 kB / 0.5238 GB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.7256, allocations: 353.9 kB / 0.5242 GB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.7258, allocations: 0.6965 MB / 0.5248 GB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.7259, allocations: 27.91 kB / 0.5249 GB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.726, allocations: 15.44 kB / 0.5249 GB, free: 9.809 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.726, allocations: 0 / 0.5249 GB, free: 9.809 MB / 346.7 MB Notification: Performance of Templates: time 0.00717/0.7332, allocations: 3.497 MB / 0.5283 GB, free: 6.309 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)