Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001189/0.001189, allocations: 105 kB / 16.27 MB, free: 5.977 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.001445/0.001445, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.413/1.413, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.1 MB / 0.711 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 72.17 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002265/0.3362, allocations: 0.5786 MB / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.337, allocations: 346.7 kB / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.337, allocations: 0 / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.337, allocations: 0 / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.682e-05/0.3371, allocations: 0 / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.3376, allocations: 116.1 kB / 1.019 GB, free: 9.559 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.3377, allocations: 8 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.3377, allocations: 11.97 kB / 1.019 GB, free: 9.539 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.3378, allocations: 3.984 kB / 1.019 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.3378, allocations: 7.938 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3378, allocations: 0 / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.3383, allocations: 279.6 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3383, allocations: 0 / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.3383, allocations: 4 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3385, allocations: 91.78 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3385, allocations: 4 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3385, allocations: 3.938 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3385, allocations: 3.984 kB / 1.019 GB, free: 9.148 MB / 0.795 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.0004256/0.339, allocations: 343.5 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.339, allocations: 8.031 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.3391, allocations: 4.938 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3392, allocations: 168.6 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3393, allocations: 4.375 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3393, allocations: 384 / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.3394, allocations: 42.25 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3394, allocations: 192 / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3394, allocations: 3.938 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3394, allocations: 0 / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.3395, allocations: 0 / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.3397, allocations: 157.6 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.3398, allocations: 22.55 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.3398, allocations: 16.92 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008889/0.3407, allocations: 457.5 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.3408, allocations: 38.5 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3408, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005865/0.3414, allocations: 254.2 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3414, allocations: 51.41 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.3415, allocations: 93.86 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3415, allocations: 30.03 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.3416, allocations: 88.14 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.3416, allocations: 7.906 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.3417, allocations: 17.72 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3418, allocations: 310.8 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.3418, allocations: 7.984 kB / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.3419, allocations: 17.72 kB / 1.021 GB, free: 6.688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.3419, allocations: 29.66 kB / 1.021 GB, free: 6.652 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3419, allocations: 4 kB / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/0.3421, allocations: 57.53 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3421, allocations: 7.938 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3421, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3421, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.3422, allocations: 8 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3422, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.3422, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3422, allocations: 12.05 kB / 1.022 GB, free: 6.559 MB / 0.795 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 9.414e-05/0.3423, allocations: 109.8 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.3424, allocations: 7.938 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.3425, allocations: 61.05 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3425, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3425, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.3425, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.3427, allocations: 157.7 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3427, allocations: 0 / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.3428, allocations: 7.984 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3428, allocations: 3.938 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.3428, allocations: 192 / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3428, allocations: 4 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3428, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.343, allocations: 77.11 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.3431, allocations: 89.11 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.3431, allocations: 7.875 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.3432, allocations: 8.016 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.3432, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3432, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.3432, allocations: 83.28 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3432, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002151/0.3435, allocations: 24 kB / 1.022 GB, free: 5.824 MB / 0.795 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.0002486/0.3437, allocations: 131.3 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.494e-05/0.3438, allocations: 19.98 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3438, allocations: 0 / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.3439, allocations: 7.938 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.344, allocations: 10.66 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3443, allocations: 139.2 kB / 1.022 GB, free: 5.484 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3448, allocations: 0.6768 MB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.3448, allocations: 11.56 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.3448, allocations: 0 / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of Templates: time 0.002581/0.3474, allocations: 0.7634 MB / 1.024 GB, free: 4.012 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)