Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4853/0.4853, allocations: 92 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 354.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 96.23 kB / 427.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 12 kB / 0.4983 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 72.31 MB / 0.5689 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.7287, allocations: 102.7 MB / 0.6691 GB, free: 1.824 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.7291, allocations: 71.97 kB / 0.6692 GB, free: 1.754 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.7418, allocations: 3.851 MB / 0.673 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7418, allocations: 4 kB / 0.673 GB, free: 13.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.7418, allocations: 0 / 0.673 GB, free: 13.91 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004895/0.7423, allocations: 383.7 kB / 0.6733 GB, free: 13.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7424, allocations: 8.031 kB / 0.6734 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.7428, allocations: 75.81 kB / 0.6734 GB, free: 13.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.7429, allocations: 171 kB / 0.6736 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.743, allocations: 0 / 0.6736 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.743, allocations: 7.922 kB / 0.6736 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.7433, allocations: 96.38 kB / 0.6737 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.7433, allocations: 0 / 0.6737 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.7433, allocations: 4 kB / 0.6737 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7433, allocations: 0 / 0.6737 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.7438, allocations: 123.8 kB / 0.6738 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.7443, allocations: 280.8 kB / 0.6741 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.7447, allocations: 126.4 kB / 0.6742 GB, free: 12.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.7447, allocations: 0 / 0.6742 GB, free: 12.51 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.7447, allocations: 30.56 kB / 0.6742 GB, free: 12.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7447, allocations: 0 / 0.6742 GB, free: 12.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007379/0.7455, allocations: 205.7 kB / 0.6744 GB, free: 12.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.7455, allocations: 55.39 kB / 0.6745 GB, free: 12.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.7456, allocations: 96.94 kB / 0.6746 GB, free: 12.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.7456, allocations: 29.7 kB / 0.6746 GB, free: 12.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.7457, allocations: 80.14 kB / 0.6747 GB, free: 11.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.7457, allocations: 7.844 kB / 0.6747 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.7457, allocations: 4.031 kB / 0.6747 GB, free: 11.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7459, allocations: 322.8 kB / 0.675 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.7461, allocations: 55.95 kB / 0.675 GB, free: 11.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.7463, allocations: 55.95 kB / 0.6751 GB, free: 11.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.7465, allocations: 51.95 kB / 0.6751 GB, free: 11.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7465, allocations: 4.062 kB / 0.6752 GB, free: 11.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004657/0.747, allocations: 145.6 kB / 0.6753 GB, free: 11.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.747, allocations: 4 kB / 0.6753 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.747, allocations: 0 / 0.6753 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.747, allocations: 8.031 kB / 0.6753 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.7472, allocations: 27.92 kB / 0.6753 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.7472, allocations: 0 / 0.6753 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.7473, allocations: 23.98 kB / 0.6754 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.7474, allocations: 7.984 kB / 0.6754 GB, free: 11.26 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 9.502e-05/0.7475, allocations: 109.8 kB / 0.6755 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.7475, allocations: 3.906 kB / 0.6755 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.7475, allocations: 11.12 kB / 0.6755 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.7476, allocations: 0 / 0.6755 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7476, allocations: 3.953 kB / 0.6755 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7476, allocations: 0 / 0.6755 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.7478, allocations: 173.6 kB / 0.6756 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7478, allocations: 0.5 kB / 0.6756 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.7479, allocations: 31.91 kB / 0.6757 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7479, allocations: 0 / 0.6757 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7479, allocations: 256 / 0.6757 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7479, allocations: 4 kB / 0.6757 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.748, allocations: 4 kB / 0.6757 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.7485, allocations: 243.4 kB / 0.6759 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.7485, allocations: 81.14 kB / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.7485, allocations: 0 / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.7487, allocations: 27.91 kB / 0.676 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.7488, allocations: 7.938 kB / 0.676 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.7488, allocations: 0 / 0.676 GB, free: 10.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.028e-05/0.7489, allocations: 95.22 kB / 0.6761 GB, free: 10.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7489, allocations: 0 / 0.6761 GB, free: 10.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.7491, allocations: 19.94 kB / 0.6761 GB, free: 10.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002014/0.7493, allocations: 107.2 kB / 0.6762 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.7498, allocations: 119.9 kB / 0.6764 GB, free: 10.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7498, allocations: 0 / 0.6764 GB, free: 10.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.75, allocations: 64.02 kB / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.7503, allocations: 0 / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.7508, allocations: 181.1 kB / 0.6766 GB, free: 9.867 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.7511, allocations: 0.6809 MB / 0.6773 GB, free: 9.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.003e-05/0.7512, allocations: 11.98 kB / 0.6773 GB, free: 9.148 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.7513, allocations: 11.44 kB / 0.6773 GB, free: 9.137 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7513, allocations: 0 / 0.6773 GB, free: 9.137 MB / 474.7 MB Notification: Performance of Templates: time 0.002637/0.7539, allocations: 0.7071 MB / 0.678 GB, free: 8.438 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)