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.7682/0.7682, allocations: 127.4 MB / 134.9 MB, free: 3.434 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 178.8 kB / 164.6 MB, free: 11.62 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.53/1.53, allocations: 205.2 MB / 399.5 MB, free: 13.57 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.0009371/0.0009371, allocations: 86.41 kB / 476.7 MB, free: 1.555 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.489e-05, allocations: 3.719 kB / 0.5466 GB, free: 95.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 76.77 MB / 0.6215 GB, free: 43.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.2539, allocations: 103.1 MB / 0.7222 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.2542, allocations: 75.95 kB / 0.7223 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01212/0.2663, allocations: 3.935 MB / 0.7262 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2664, allocations: 0 / 0.7262 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2664, allocations: 4 kB / 0.7262 GB, free: 15.91 MB / 0.5105 GB 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.0004621/0.2669, allocations: 374.4 kB / 0.7265 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2669, allocations: 19.95 kB / 0.7265 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.2673, allocations: 63.89 kB / 0.7266 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2675, allocations: 163.1 kB / 0.7267 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2675, allocations: 0 / 0.7267 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.2675, allocations: 4 kB / 0.7268 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.803e-05/0.2676, allocations: 31.92 kB / 0.7268 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2677, allocations: 49.67 kB / 0.7268 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2677, allocations: 0 / 0.7268 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2678, allocations: 0 / 0.7268 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2678, allocations: 0 / 0.7268 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.2682, allocations: 273.4 kB / 0.7271 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.2683, allocations: 34.58 kB / 0.7271 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.2683, allocations: 20.91 kB / 0.7271 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.2684, allocations: 4 kB / 0.7271 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2684, allocations: 34.5 kB / 0.7272 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2684, allocations: 0 / 0.7272 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002896/0.2687, allocations: 73.62 kB / 0.7272 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2687, allocations: 51.41 kB / 0.7273 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.2688, allocations: 97 kB / 0.7274 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2688, allocations: 25.7 kB / 0.7274 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.2689, allocations: 88.06 kB / 0.7275 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2689, allocations: 3.906 kB / 0.7275 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.2689, allocations: 0 / 0.7275 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.269, allocations: 318.8 kB / 0.7278 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.2691, allocations: 12.03 kB / 0.7278 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.2691, allocations: 12 kB / 0.7278 GB, free: 14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.2692, allocations: 23.97 kB / 0.7279 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2692, allocations: 0 / 0.7279 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.2694, allocations: 77.59 kB / 0.7279 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2695, allocations: 8.094 kB / 0.7279 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2695, allocations: 0 / 0.7279 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2695, allocations: 0 / 0.7279 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.2698, allocations: 27.97 kB / 0.728 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2698, allocations: 3.938 kB / 0.728 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.2699, allocations: 27.94 kB / 0.728 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2699, allocations: 0 / 0.728 GB, free: 13.82 MB / 0.5105 GB 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.466e-05/0.27, allocations: 112.9 kB / 0.7281 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.27, allocations: 7.891 kB / 0.7281 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.2701, allocations: 3.75 kB / 0.7281 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2701, allocations: 0 / 0.7281 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2701, allocations: 0 / 0.7281 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2701, allocations: 8 kB / 0.7281 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2703, allocations: 150.2 kB / 0.7283 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2703, allocations: 0 / 0.7283 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.2704, allocations: 31.95 kB / 0.7283 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2705, allocations: 0 / 0.7283 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2705, allocations: 7.984 kB / 0.7283 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2705, allocations: 4.25 kB / 0.7283 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2705, allocations: 0 / 0.7283 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.2707, allocations: 167.4 kB / 0.7285 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2708, allocations: 81.11 kB / 0.7285 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2708, allocations: 3.984 kB / 0.7285 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.271, allocations: 24.02 kB / 0.7286 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.271, allocations: 7.984 kB / 0.7286 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.271, allocations: 0 / 0.7286 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.2711, allocations: 79.28 kB / 0.7287 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2711, allocations: 0 / 0.7287 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002283/0.2713, allocations: 16 kB / 0.7287 GB, free: 13.05 MB / 0.5105 GB 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.0001585/0.2715, allocations: 115.2 kB / 0.7288 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2716, allocations: 28 kB / 0.7288 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2716, allocations: 0 / 0.7288 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.2716, allocations: 19.94 kB / 0.7288 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.2718, allocations: 9.781 kB / 0.7288 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.2722, allocations: 100 kB / 0.7289 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2724, allocations: 0.6884 MB / 0.7296 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.065e-05/0.2725, allocations: 8 kB / 0.7296 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.2726, allocations: 11.44 kB / 0.7296 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.2726, allocations: 0 / 0.7296 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.002406/0.275, allocations: 0.68 MB / 0.7303 GB, free: 11.35 MB / 0.5105 GB 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)