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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001364/0.001364, allocations: 108.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 187 kB / 17.34 MB, free: 5.719 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 67.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9353/0.9367, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001905/0.9387, allocations: 0.5997 MB / 1.209 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.9394, allocations: 338.8 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.9395, allocations: 4 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.9395, allocations: 3.938 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.368e-05/0.9395, allocations: 7.938 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.9401, allocations: 107.7 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.9402, allocations: 7.984 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.9402, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.9402, allocations: 11.98 kB / 1.21 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.9403, allocations: 7.984 kB / 1.21 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.9403, allocations: 4 kB / 1.21 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.9407, allocations: 275.7 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.9407, allocations: 7.875 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.9408, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.941, allocations: 95.83 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.941, allocations: 3.938 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.307e-06/0.941, allocations: 0 / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.941, allocations: 3.938 kB / 1.21 GB, free: 12.35 MB / 0.9356 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.0003753/0.9414, allocations: 339.6 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.9414, allocations: 12.03 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.9415, allocations: 0.9375 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.9416, allocations: 172.3 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9416, allocations: 384 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.9417, allocations: 4.375 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.9418, allocations: 30.27 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.9418, allocations: 192 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.9418, allocations: 3.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.9418, allocations: 4 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.9418, allocations: 7.984 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.942, allocations: 151.5 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.9421, allocations: 26.53 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.9421, allocations: 12.92 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.9428, allocations: 453.5 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.9429, allocations: 38.55 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9429, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005406/0.9434, allocations: 250.6 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.9435, allocations: 55.41 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.9435, allocations: 93.86 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.9436, allocations: 25.7 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.9436, allocations: 84.14 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.9436, allocations: 15.75 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.9437, allocations: 17.7 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.9438, allocations: 314.8 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.9438, allocations: 8.125 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.9438, allocations: 25.64 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.9439, allocations: 21.72 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.9439, allocations: 3.938 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.944, allocations: 49.64 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.944, allocations: 15.92 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.944, allocations: 4.062 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.944, allocations: 0 / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.9441, allocations: 8 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9441, allocations: 0 / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.9442, allocations: 3.938 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.9442, allocations: 4 kB / 1.212 GB, free: 9.766 MB / 0.9356 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 7.019e-05/0.9442, allocations: 113.8 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.9443, allocations: 3.938 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.9444, allocations: 61.25 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9444, allocations: 48 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.9444, allocations: 7.984 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.9444, allocations: 0 / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.9445, allocations: 153.7 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9445, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.9446, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.9446, allocations: 3.938 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.9446, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9446, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9446, allocations: 4 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.9448, allocations: 88.95 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.9448, allocations: 77.11 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.9449, allocations: 3.938 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.9449, allocations: 0 / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.9449, allocations: 4.031 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9449, allocations: 0 / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.945, allocations: 91.33 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.945, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002348/0.9452, allocations: 20 kB / 1.213 GB, free: 9.035 MB / 0.9356 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.0002095/0.9454, allocations: 127.2 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.9455, allocations: 19.94 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9456, allocations: 0 / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.9456, allocations: 15.92 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.9457, allocations: 4.219 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.946, allocations: 131.2 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.9462, allocations: 0.6768 MB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.9463, allocations: 11.44 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9463, allocations: 0 / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of Templates: time 0.002349/0.9486, allocations: 0.7727 MB / 1.214 GB, free: 7.215 MB / 0.9356 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)