Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7377/0.7377, allocations: 127.4 MB / 134.9 MB, free: 3.457 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.001055/0.001055, allocations: 179.4 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.461/1.461, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.000907/0.000907, allocations: 78.48 kB / 476.7 MB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2e-05, allocations: 8.062 kB / 0.5466 GB, free: 95.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.2501, allocations: 101.8 MB / 0.721 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.2504, allocations: 87.88 kB / 0.7211 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01196/0.2624, allocations: 4.286 MB / 0.7252 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2624, allocations: 0 / 0.7252 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2624, allocations: 7.938 kB / 0.7252 GB, free: 0.7891 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002803/0.2627, allocations: 342.4 kB / 0.7256 GB, free: 420 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2628, allocations: 8.031 kB / 0.7256 GB, free: 412 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.2628, allocations: 3.953 kB / 0.7256 GB, free: 408 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.101e-05/0.2629, allocations: 163.1 kB / 0.7257 GB, free: 204 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.263, allocations: 0 / 0.7257 GB, free: 204 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.263, allocations: 0 / 0.7257 GB, free: 204 kB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.058e-05/0.263, allocations: 4 kB / 0.7257 GB, free: 200 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.218e-05/0.2631, allocations: 33.69 kB / 0.7258 GB, free: 160 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2631, allocations: 4 kB / 0.7258 GB, free: 156 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.2631, allocations: 0 / 0.7258 GB, free: 156 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2631, allocations: 0 / 0.7258 GB, free: 156 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.2633, allocations: 130.2 kB / 0.7259 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.2633, allocations: 18.52 kB / 0.7259 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.2633, allocations: 8.797 kB / 0.7259 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005375/0.2639, allocations: 429.6 kB / 0.7263 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.264, allocations: 30.56 kB / 0.7264 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.264, allocations: 0 / 0.7264 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.2641, allocations: 29.7 kB / 0.7264 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2642, allocations: 59.39 kB / 0.7265 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.181e-05/0.2642, allocations: 85 kB / 0.7265 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2642, allocations: 29.73 kB / 0.7266 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.2642, allocations: 80.14 kB / 0.7266 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.2643, allocations: 7.938 kB / 0.7266 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.2643, allocations: 0 / 0.7266 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.2644, allocations: 311.5 kB / 0.7269 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.2644, allocations: 0 / 0.7269 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.2644, allocations: 7.938 kB / 0.727 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.2644, allocations: 3.953 kB / 0.727 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2644, allocations: 0 / 0.727 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.276e-05/0.2645, allocations: 37.77 kB / 0.727 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2645, allocations: 4 kB / 0.727 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2646, allocations: 0 / 0.727 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2646, allocations: 3.984 kB / 0.727 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-05/0.2646, allocations: 0 / 0.727 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.2646, allocations: 4 kB / 0.727 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-06/0.2646, allocations: 0 / 0.727 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.2646, allocations: 0 / 0.727 GB, free: 14.7 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 (1): * Single equations (assignments): 1 * 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.66e-05/0.2647, allocations: 104.9 kB / 0.7271 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.2647, allocations: 4.031 kB / 0.7271 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.465e-05/0.2648, allocations: 45.39 kB / 0.7272 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2649, allocations: 3.984 kB / 0.7272 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2649, allocations: 3.938 kB / 0.7272 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2649, allocations: 0 / 0.7272 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797e-05/0.265, allocations: 122.2 kB / 0.7273 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.265, allocations: 0 / 0.7273 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.265, allocations: 4 kB / 0.7273 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.265, allocations: 3.953 kB / 0.7273 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.265, allocations: 7.969 kB / 0.7273 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.265, allocations: 0 / 0.7273 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.265, allocations: 0 / 0.7273 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.589e-05/0.2651, allocations: 57.12 kB / 0.7273 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.2652, allocations: 81.11 kB / 0.7274 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2652, allocations: 3.953 kB / 0.7274 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-06/0.2652, allocations: 0 / 0.7274 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.2652, allocations: 7.969 kB / 0.7274 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.2652, allocations: 8 kB / 0.7274 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.2653, allocations: 75.28 kB / 0.7275 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2653, allocations: 0 / 0.7275 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001915/0.2655, allocations: 11.98 kB / 0.7275 GB, free: 14.08 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 (1): * Single equations (assignments): 1 * 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.0001906/0.2657, allocations: 115.2 kB / 0.7276 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.525e-05/0.2657, allocations: 0 / 0.7276 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2657, allocations: 0 / 0.7276 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.2657, allocations: 8.062 kB / 0.7276 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.594e-05/0.2658, allocations: 0 / 0.7276 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001419/0.266, allocations: 44.06 kB / 0.7277 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.2662, allocations: 0.6729 MB / 0.7283 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.2662, allocations: 0 / 0.7283 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.2663, allocations: 7.438 kB / 0.7283 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of SimCode: time 2.01e-07/0.2663, allocations: 0 / 0.7283 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.002141/0.2684, allocations: 431.8 kB / 0.7288 GB, free: 12.75 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)