Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.782/3.782, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00199/0.00199, allocations: 176 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.903/3.903, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 96.84 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000758/0.0007582, allocations: 11.59 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3496, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.7083, allocations: 131.4 MB / 1.028 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004603/0.7088, allocations: 87.94 kB / 1.028 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03066/0.7395, allocations: 4.04 MB / 1.032 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.146e-06/0.7396, allocations: 0 / 1.032 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.7396, allocations: 0 / 1.032 GB, free: 9.781 MB / 0.6823 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.0005546/0.7402, allocations: 343.5 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.7403, allocations: 11.97 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.7404, allocations: 4.938 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.7406, allocations: 168.3 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.7406, allocations: 384 / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.7406, allocations: 384 / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.7408, allocations: 26.27 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7408, allocations: 192 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.7408, allocations: 11.88 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7409, allocations: 4 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.7409, allocations: 0 / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.7412, allocations: 145.7 kB / 1.033 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.7412, allocations: 26.53 kB / 1.033 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.7413, allocations: 4.859 kB / 1.033 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009302/0.7422, allocations: 429.6 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.7423, allocations: 30.56 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 3.096e-06/0.7423, allocations: 0 / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002356/0.7426, allocations: 33.64 kB / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.7427, allocations: 59.41 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.7428, allocations: 89.86 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.7428, allocations: 29.77 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.7429, allocations: 84.14 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.7429, allocations: 3.906 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.7429, allocations: 0 / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.7431, allocations: 314.8 kB / 1.034 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.7432, allocations: 4 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.7432, allocations: 0 / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.7433, allocations: 0 / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7433, allocations: 0 / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001663/0.7435, allocations: 41.77 kB / 1.034 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.7435, allocations: 4 kB / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7435, allocations: 0 / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.7436, allocations: 3.938 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.7436, allocations: 4 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7437, allocations: 0 / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.7437, allocations: 3.984 kB / 1.034 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.7438, allocations: 0 / 1.034 GB, free: 7.629 MB / 0.6823 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 () * Number of clocked 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 0.0001317/0.7439, allocations: 109.8 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.744, allocations: 8.031 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.7442, allocations: 36.77 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.7442, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.7442, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.7442, allocations: 7.922 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.7444, allocations: 149.6 kB / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7444, allocations: 0 / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.7445, allocations: 7.984 kB / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.7445, allocations: 4 kB / 1.034 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.7446, allocations: 7.969 kB / 1.034 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7446, allocations: 0 / 1.034 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7446, allocations: 0 / 1.034 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.7448, allocations: 65.06 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.7449, allocations: 77.11 kB / 1.034 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.7449, allocations: 3.938 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.763e-05/0.7449, allocations: 0 / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.745, allocations: 8.031 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.745, allocations: 0 / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.745, allocations: 75.28 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.32e-07/0.7451, allocations: 0 / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004986/0.7456, allocations: 15.92 kB / 1.034 GB, free: 6.961 MB / 0.6823 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 () * Number of clocked 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.0003276/0.7459, allocations: 115.2 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.746, allocations: 4 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7461, allocations: 0 / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.7461, allocations: 8 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.7464, allocations: 7.938 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.7467, allocations: 78.75 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.7472, allocations: 0.6692 MB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.416e-05/0.7472, allocations: 3.984 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.7473, allocations: 15.38 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/0.7473, allocations: 0 / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of Templates: time 0.004281/0.7516, allocations: 420.8 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)