Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.284/1.284, allocations: 252 MB / 267.9 MB, free: 10.96 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.0009145/0.0009146, allocations: 179.9 kB / 327.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 0.5785 GB, free: 20.46 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.0006894/0.0006894, allocations: 94.73 kB / 0.6831 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 15.08 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 106.3 MB / 0.9012 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.31, allocations: 131.6 MB / 1.03 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.3102, allocations: 87.94 kB / 1.03 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.3212, allocations: 4.032 MB / 1.034 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3213, allocations: 0 / 1.034 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.3213, allocations: 0 / 1.034 GB, free: 8.215 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.0002734/0.3216, allocations: 343.5 kB / 1.034 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3216, allocations: 12.03 kB / 1.034 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.3217, allocations: 0.9375 kB / 1.034 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.3218, allocations: 160.4 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3218, allocations: 384 / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.3218, allocations: 4.312 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.764e-05/0.3219, allocations: 38.19 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3219, allocations: 192 / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3219, allocations: 7.938 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3219, allocations: 0 / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.322, allocations: 0 / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.3221, allocations: 149.7 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/0.3221, allocations: 14.58 kB / 1.034 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.3222, allocations: 8.953 kB / 1.034 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/0.3226, allocations: 429.4 kB / 1.035 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.3227, allocations: 42.48 kB / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.3227, allocations: 0 / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.3228, allocations: 33.64 kB / 1.035 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3229, allocations: 51.41 kB / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.282e-05/0.3229, allocations: 89.86 kB / 1.035 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3229, allocations: 29.83 kB / 1.035 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.3229, allocations: 80.14 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.323, allocations: 15.89 kB / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.323, allocations: 0 / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3231, allocations: 310.8 kB / 1.036 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.3231, allocations: 0 / 1.036 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.3231, allocations: 3.938 kB / 1.036 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.3232, allocations: 12.84 kB / 1.036 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3232, allocations: 4.062 kB / 1.036 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.758e-05/0.3232, allocations: 29.7 kB / 1.036 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3233, allocations: 8 kB / 1.036 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3233, allocations: 0 / 1.036 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3233, allocations: 3.938 kB / 1.036 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.3233, allocations: 0 / 1.036 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3233, allocations: 0 / 1.036 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.3234, allocations: 8 kB / 1.036 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3234, allocations: 0 / 1.036 GB, free: 6.051 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 6.48e-05/0.3234, allocations: 113.9 kB / 1.036 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.3235, allocations: 7.922 kB / 1.036 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.3236, allocations: 44.7 kB / 1.036 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3236, allocations: 0 / 1.036 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3236, allocations: 0 / 1.036 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3236, allocations: 0 / 1.036 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/0.3237, allocations: 153.7 kB / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3237, allocations: 0 / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.3237, allocations: 4 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3237, allocations: 4.031 kB / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3237, allocations: 3.938 kB / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3237, allocations: 0 / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3237, allocations: 0 / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.381e-05/0.3238, allocations: 61.06 kB / 1.036 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.3239, allocations: 77.11 kB / 1.036 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.3239, allocations: 3.938 kB / 1.036 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-06/0.3239, allocations: 8.031 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3239, allocations: 0 / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3239, allocations: 4 kB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.3239, allocations: 75.28 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3239, allocations: 3.938 kB / 1.036 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001834/0.3241, allocations: 11.94 kB / 1.036 GB, free: 5.383 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.0001682/0.3243, allocations: 115.2 kB / 1.036 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.603e-05/0.3244, allocations: 4 kB / 1.036 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3244, allocations: 4.062 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-06/0.3244, allocations: 3.938 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.3245, allocations: 4 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.3247, allocations: 84.23 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3249, allocations: 0.6692 MB / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.3249, allocations: 0 / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.3249, allocations: 11.44 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3249, allocations: 4.062 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of Templates: time 0.002021/0.327, allocations: 423.6 kB / 1.037 GB, free: 4.008 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)