Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009727/0.0009727, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 176.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 17.92 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007702/0.3331, allocations: 326.9 kB / 1.06 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007258/0.3338, allocations: 378.8 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.3339, allocations: 0 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.3339, allocations: 0 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 1.859e-05/0.3339, allocations: 0 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.3343, allocations: 82.72 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.65e-05/0.3343, allocations: 11.94 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.3344, allocations: 0 / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.3344, allocations: 4 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.3345, allocations: 7.922 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3345, allocations: 0 / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.3349, allocations: 275.7 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.3349, allocations: 3.984 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.3349, allocations: 33.69 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.3351, allocations: 59.91 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3351, allocations: 0 / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3351, allocations: 3.938 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3351, allocations: 0 / 1.06 GB, free: 3.773 MB / 0.8106 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.0003675/0.3355, allocations: 335.5 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3355, allocations: 15.97 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.3356, allocations: 4.938 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3357, allocations: 168.4 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3357, allocations: 384 / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3358, allocations: 8.375 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.3359, allocations: 30.27 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3359, allocations: 192 / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3359, allocations: 3.938 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3359, allocations: 3.938 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.3359, allocations: 7.984 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.3361, allocations: 150 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.3362, allocations: 30.56 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.3362, allocations: 4.859 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.3369, allocations: 461.5 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3369, allocations: 34.55 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3369, allocations: 0 / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005015/0.3374, allocations: 258.2 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3375, allocations: 59.34 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.3375, allocations: 94.08 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3376, allocations: 29.7 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.3376, allocations: 88.08 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3376, allocations: 3.906 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.3376, allocations: 13.72 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.3378, allocations: 318.8 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.3378, allocations: 0 / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.3378, allocations: 21.72 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.3379, allocations: 29.83 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3379, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.375e-05/0.338, allocations: 57.48 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.338, allocations: 9.031 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.338, allocations: 4 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.338, allocations: 0 / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.568e-05/0.3381, allocations: 7.984 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3381, allocations: 4 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.3381, allocations: 4.062 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3381, allocations: 0 / 1.063 GB, free: 1.188 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.3382, allocations: 117.8 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.3382, allocations: 3.938 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.3384, allocations: 57.3 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3384, allocations: 0 / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3384, allocations: 0 / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3384, allocations: 4 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.3385, allocations: 157.7 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3385, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.3386, allocations: 8 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3386, allocations: 3.938 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.3386, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3386, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3386, allocations: 3.938 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3387, allocations: 85.14 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.3388, allocations: 77.11 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3388, allocations: 3.938 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.3388, allocations: 0 / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.3389, allocations: 4 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3389, allocations: 4 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.3389, allocations: 79.28 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3389, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002046/0.3391, allocations: 31.92 kB / 1.063 GB, free: 468 kB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.3393, allocations: 123.4 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.347e-05/0.3394, allocations: 19.94 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3394, allocations: 0 / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.3395, allocations: 4 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3396, allocations: 11.92 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.3398, allocations: 138.3 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.3401, allocations: 0.6811 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.3401, allocations: 15.44 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3401, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.002265/0.3424, allocations: 0.7563 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)