Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7183/0.7183, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001341/0.001341, allocations: 176.9 kB / 169.7 MB, free: 1.742 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.745/1.745, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0009704/0.0009703, allocations: 89.95 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.813e-05, allocations: 7.938 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 76.75 MB / 0.6281 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5508, allocations: 103.2 MB / 0.7289 GB, free: 10.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.5511, allocations: 75.14 kB / 0.729 GB, free: 10.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.5645, allocations: 4.626 MB / 0.7335 GB, free: 6.211 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5645, allocations: 0 / 0.7335 GB, free: 6.211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.5645, allocations: 0 / 0.7335 GB, free: 6.211 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.0003731/0.5649, allocations: 365.5 kB / 0.7338 GB, free: 5.812 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.5649, allocations: 12.03 kB / 0.7339 GB, free: 5.801 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.565, allocations: 3.953 kB / 0.7339 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5651, allocations: 171.1 kB / 0.734 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.5651, allocations: 0 / 0.734 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.5651, allocations: 0 / 0.734 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.831e-05/0.5652, allocations: 41.06 kB / 0.7341 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.5653, allocations: 4 kB / 0.7341 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5653, allocations: 0 / 0.7341 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5653, allocations: 3.938 kB / 0.7341 GB, free: 5.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.5653, allocations: 11.25 kB / 0.7341 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.5657, allocations: 267.7 kB / 0.7343 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.5658, allocations: 29.83 kB / 0.7344 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.5658, allocations: 16.17 kB / 0.7344 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.5664, allocations: 461.4 kB / 0.7348 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5665, allocations: 37.94 kB / 0.7349 GB, free: 4.598 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.5665, allocations: 4 kB / 0.7349 GB, free: 4.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.5666, allocations: 41.53 kB / 0.7349 GB, free: 4.551 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.5667, allocations: 55.39 kB / 0.735 GB, free: 4.484 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.5668, allocations: 96.81 kB / 0.735 GB, free: 4.387 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5668, allocations: 25.7 kB / 0.7351 GB, free: 4.355 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.5668, allocations: 84.17 kB / 0.7352 GB, free: 4.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.5668, allocations: 11.84 kB / 0.7352 GB, free: 4.262 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.5668, allocations: 0 / 0.7352 GB, free: 4.262 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.567, allocations: 314.8 kB / 0.7355 GB, free: 3.945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.567, allocations: 7.625 kB / 0.7355 GB, free: 3.941 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.368e-05/0.567, allocations: 4 kB / 0.7355 GB, free: 3.938 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.877e-05/0.567, allocations: 7.25 kB / 0.7355 GB, free: 3.934 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.567, allocations: 0 / 0.7355 GB, free: 3.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.413e-05/0.5671, allocations: 49.2 kB / 0.7355 GB, free: 3.883 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5671, allocations: 4 kB / 0.7355 GB, free: 3.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5671, allocations: 3.938 kB / 0.7355 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5672, allocations: 0 / 0.7355 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.5673, allocations: 11.98 kB / 0.7355 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5673, allocations: 3.953 kB / 0.7356 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.5673, allocations: 11.98 kB / 0.7356 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5673, allocations: 0 / 0.7356 GB, free: 3.848 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 5.978e-05/0.5674, allocations: 105 kB / 0.7357 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.5675, allocations: 7.906 kB / 0.7357 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.5676, allocations: 56.03 kB / 0.7357 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.5676, allocations: 0 / 0.7357 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5676, allocations: 0 / 0.7357 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5676, allocations: 3.953 kB / 0.7357 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.5677, allocations: 163.7 kB / 0.7359 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5678, allocations: 0 / 0.7359 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.5678, allocations: 16.02 kB / 0.7359 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.5678, allocations: 4 kB / 0.7359 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.5679, allocations: 0 / 0.7359 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5679, allocations: 3.938 kB / 0.7359 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5679, allocations: 0 / 0.7359 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.568, allocations: 139.1 kB / 0.736 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.5681, allocations: 85 kB / 0.7361 GB, free: 3.203 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.5681, allocations: 11.97 kB / 0.7361 GB, free: 3.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.5682, allocations: 4 kB / 0.7361 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.5682, allocations: 3.984 kB / 0.7361 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.5682, allocations: 8.234 kB / 0.7361 GB, free: 3.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.5683, allocations: 86.59 kB / 0.7362 GB, free: 3.094 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5683, allocations: 0 / 0.7362 GB, free: 3.094 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.5685, allocations: 16 kB / 0.7362 GB, free: 3.078 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.0001617/0.5686, allocations: 123 kB / 0.7364 GB, free: 2.949 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.038e-05/0.5687, allocations: 19.12 kB / 0.7364 GB, free: 2.938 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5687, allocations: 0 / 0.7364 GB, free: 2.938 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.5688, allocations: 4 kB / 0.7364 GB, free: 2.934 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.5689, allocations: 7.328 kB / 0.7364 GB, free: 2.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001702/0.5691, allocations: 64.73 kB / 0.7365 GB, free: 2.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.5693, allocations: 0.6811 MB / 0.7371 GB, free: 2.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.234e-05/0.5694, allocations: 4 kB / 0.7371 GB, free: 2.137 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.5694, allocations: 7.438 kB / 0.7371 GB, free: 2.129 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5694, allocations: 0 / 0.7371 GB, free: 2.129 MB / 490.7 MB Notification: Performance of Templates: time 0.002379/0.5718, allocations: 0.6207 MB / 0.7377 GB, free: 1.527 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)