Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 252 MB / 267.9 MB, free: 10.92 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.000925/0.000925, allocations: 178.8 kB / 327.6 MB, free: 2.152 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.386/1.386, allocations: 205.4 MB / 0.5785 GB, free: 20.51 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.0007126/0.0007126, allocations: 97.22 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003273, allocations: 11.97 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.3229, allocations: 131.7 MB / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.3232, allocations: 75.95 kB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01246/0.3357, allocations: 4.574 MB / 1.034 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3357, allocations: 0 / 1.034 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5e-06/0.3357, allocations: 0 / 1.034 GB, free: 7.48 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003075/0.336, allocations: 351.4 kB / 1.035 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3361, allocations: 12.03 kB / 1.035 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.3362, allocations: 0.9375 kB / 1.035 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3363, allocations: 164.4 kB / 1.035 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3363, allocations: 4.375 kB / 1.035 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3363, allocations: 4.312 kB / 1.035 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.3364, allocations: 38.19 kB / 1.035 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3364, allocations: 192 / 1.035 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3364, allocations: 7.938 kB / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3364, allocations: 3.938 kB / 1.035 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.3365, allocations: 4 kB / 1.035 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.3367, allocations: 153.7 kB / 1.035 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.3367, allocations: 18.61 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.3367, allocations: 12.92 kB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.3373, allocations: 457.5 kB / 1.036 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3373, allocations: 38.5 kB / 1.036 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.3373, allocations: 0 / 1.036 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004967/0.3378, allocations: 262.4 kB / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3379, allocations: 51.41 kB / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.338, allocations: 97.84 kB / 1.036 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.338, allocations: 25.7 kB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.338, allocations: 84.14 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.338, allocations: 3.906 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.3381, allocations: 0 / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.3382, allocations: 319 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.3382, allocations: 7.984 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.3382, allocations: 17.72 kB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.3383, allocations: 25.66 kB / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3383, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.329e-05/0.3384, allocations: 53.69 kB / 1.037 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3384, allocations: 12 kB / 1.037 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3384, allocations: 0 / 1.037 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3384, allocations: 4 kB / 1.037 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.3385, allocations: 7.938 kB / 1.037 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3385, allocations: 0 / 1.037 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.3385, allocations: 7.984 kB / 1.037 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3385, allocations: 0 / 1.037 GB, free: 4.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.524e-05/0.3386, allocations: 109.8 kB / 1.037 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3386, allocations: 7.844 kB / 1.037 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.3388, allocations: 65.06 kB / 1.037 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3388, allocations: 0 / 1.037 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3388, allocations: 0 / 1.037 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3388, allocations: 0 / 1.037 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.878e-05/0.3389, allocations: 153.7 kB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3389, allocations: 7.938 kB / 1.037 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.339, allocations: 7.984 kB / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.339, allocations: 11.88 kB / 1.037 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.339, allocations: 0 / 1.037 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.339, allocations: 4 kB / 1.037 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.339, allocations: 0 / 1.037 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.3391, allocations: 73.12 kB / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.3392, allocations: 77.14 kB / 1.037 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3392, allocations: 11.92 kB / 1.037 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/0.3392, allocations: 0 / 1.037 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.3393, allocations: 0 / 1.037 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3393, allocations: 4 kB / 1.037 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.3393, allocations: 79.34 kB / 1.037 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3393, allocations: 0 / 1.037 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002253/0.3395, allocations: 35.98 kB / 1.037 GB, free: 4.168 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002173/0.3398, allocations: 139.1 kB / 1.037 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.3398, allocations: 19.98 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3398, allocations: 0 / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.3399, allocations: 4.219 kB / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.34, allocations: 21.09 kB / 1.037 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.3403, allocations: 124.7 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.3405, allocations: 0.677 MB / 1.038 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.3406, allocations: 3.984 kB / 1.038 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.3406, allocations: 11.44 kB / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3406, allocations: 4 kB / 1.038 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of Templates: time 0.002792/0.3434, allocations: 0.8201 MB / 1.039 GB, free: 2.32 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)