Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.705/0.705, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 188.7 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008712/0.0008712, allocations: 87.72 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.781e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1778, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5871/0.7649, allocations: 103.8 MB / 0.7295 GB, free: 9.629 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.7653, allocations: 78.95 kB / 0.7296 GB, free: 9.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01184/0.7771, allocations: 3.948 MB / 0.7334 GB, free: 6.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.7772, allocations: 0 / 0.7334 GB, free: 6.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.7772, allocations: 0 / 0.7334 GB, free: 6.18 MB / 490.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.0004655/0.7777, allocations: 378 kB / 0.7338 GB, free: 5.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/0.7777, allocations: 12.03 kB / 0.7338 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/0.7781, allocations: 67.83 kB / 0.7339 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.7783, allocations: 167.6 kB / 0.734 GB, free: 5.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.7784, allocations: 12.5 kB / 0.7341 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.7784, allocations: 0 / 0.7341 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.7785, allocations: 48.67 kB / 0.7341 GB, free: 5.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7785, allocations: 3.984 kB / 0.7341 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.7786, allocations: 0 / 0.7341 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7786, allocations: 0 / 0.7341 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.7787, allocations: 23.19 kB / 0.7341 GB, free: 5.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.7792, allocations: 308.5 kB / 0.7344 GB, free: 5.082 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.7793, allocations: 33.58 kB / 0.7344 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.7793, allocations: 19.92 kB / 0.7345 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.7793, allocations: 0 / 0.7345 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.7794, allocations: 34.56 kB / 0.7345 GB, free: 4.988 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.7794, allocations: 4 kB / 0.7345 GB, free: 4.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.7796, allocations: 61.08 kB / 0.7346 GB, free: 4.926 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.7796, allocations: 51.41 kB / 0.7346 GB, free: 4.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.7797, allocations: 96.31 kB / 0.7347 GB, free: 4.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.7798, allocations: 29.64 kB / 0.7347 GB, free: 4.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.7799, allocations: 87.88 kB / 0.7348 GB, free: 4.645 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.7799, allocations: 3.906 kB / 0.7348 GB, free: 4.641 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.7799, allocations: 0 / 0.7348 GB, free: 4.641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.7801, allocations: 318.9 kB / 0.7351 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.7801, allocations: 10.44 kB / 0.7351 GB, free: 4.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.7802, allocations: 11.31 kB / 0.7351 GB, free: 4.309 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.7802, allocations: 11.23 kB / 0.7352 GB, free: 4.301 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7802, allocations: 0 / 0.7352 GB, free: 4.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.7803, allocations: 52.45 kB / 0.7352 GB, free: 4.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.7804, allocations: 14.75 kB / 0.7352 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7804, allocations: 0 / 0.7352 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.914e-05/0.7804, allocations: 0 / 0.7352 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.7806, allocations: 36.02 kB / 0.7353 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7807, allocations: 0 / 0.7353 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.7808, allocations: 31.91 kB / 0.7353 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.7808, allocations: 0 / 0.7353 GB, free: 4.176 MB / 490.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 () * 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 8.501e-05/0.7809, allocations: 101 kB / 0.7354 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.7809, allocations: 7.906 kB / 0.7354 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.781, allocations: 6.5 kB / 0.7354 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.781, allocations: 3.984 kB / 0.7354 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.781, allocations: 3.953 kB / 0.7354 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.781, allocations: 0 / 0.7354 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.7812, allocations: 164.8 kB / 0.7356 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7812, allocations: 0 / 0.7356 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.7813, allocations: 31.97 kB / 0.7356 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7813, allocations: 0 / 0.7356 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.7813, allocations: 0 / 0.7356 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7814, allocations: 4 kB / 0.7356 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7814, allocations: 3.984 kB / 0.7356 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.7815, allocations: 153.7 kB / 0.7357 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.7816, allocations: 81.09 kB / 0.7358 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.7816, allocations: 0 / 0.7358 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.7817, allocations: 19.98 kB / 0.7358 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.7818, allocations: 15.33 kB / 0.7359 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-06/0.7818, allocations: 0 / 0.7359 GB, free: 3.527 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.7819, allocations: 87.48 kB / 0.7359 GB, free: 3.441 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7819, allocations: 0 / 0.7359 GB, free: 3.441 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.7821, allocations: 19.94 kB / 0.736 GB, free: 3.422 MB / 490.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 () * 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.0001723/0.7823, allocations: 114.5 kB / 0.7361 GB, free: 3.305 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.7824, allocations: 25.38 kB / 0.7361 GB, free: 3.289 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7824, allocations: 4 kB / 0.7361 GB, free: 3.285 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.7824, allocations: 23.12 kB / 0.7361 GB, free: 3.266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.7826, allocations: 7.234 kB / 0.7361 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.783, allocations: 111.1 kB / 0.7362 GB, free: 3.137 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.7833, allocations: 0.677 MB / 0.7369 GB, free: 2.434 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.7834, allocations: 8 kB / 0.7369 GB, free: 2.426 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.7834, allocations: 11.44 kB / 0.7369 GB, free: 2.414 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7834, allocations: 0 / 0.7369 GB, free: 2.414 MB / 490.7 MB Notification: Performance of Templates: time 0.002812/0.7862, allocations: 0.7245 MB / 0.7376 GB, free: 1.707 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)