Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009929/0.000993, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001385/0.001385, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000913/0.0009135, allocations: 16.81 kB / 0.6736 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2575, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008984/0.2585, allocations: 325.9 kB / 0.7874 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006261/0.2591, allocations: 313 kB / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.2592, allocations: 7.938 kB / 0.7877 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.2592, allocations: 0 / 0.7877 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.453e-05/0.2592, allocations: 3.938 kB / 0.7877 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.2596, allocations: 59.84 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.2596, allocations: 15.92 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.2597, allocations: 3.984 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.2597, allocations: 4 kB / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.2598, allocations: 4 kB / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2598, allocations: 0 / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.2601, allocations: 255.7 kB / 0.7881 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.2602, allocations: 11.94 kB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.2602, allocations: 25.7 kB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2603, allocations: 59.89 kB / 0.7882 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.2603, allocations: 3.938 kB / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2603, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2603, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.6075 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.0003288/0.2607, allocations: 335.4 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2607, allocations: 16.03 kB / 0.7885 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.2608, allocations: 0 / 0.7885 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2609, allocations: 170.9 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2609, allocations: 7.984 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.261, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.223e-05/0.2611, allocations: 33.64 kB / 0.7887 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2611, allocations: 0 / 0.7887 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2611, allocations: 4 kB / 0.7887 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2611, allocations: 0 / 0.7887 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.2611, allocations: 11.94 kB / 0.7887 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.2613, allocations: 153.9 kB / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.2613, allocations: 22.58 kB / 0.7889 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.2621, allocations: 461.5 kB / 0.7893 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.2621, allocations: 34.56 kB / 0.7894 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2621, allocations: 0 / 0.7894 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006084/0.2627, allocations: 250.3 kB / 0.7896 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2628, allocations: 55.62 kB / 0.7897 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.2629, allocations: 97.84 kB / 0.7898 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2629, allocations: 29.7 kB / 0.7898 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.263, allocations: 84.08 kB / 0.7899 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.263, allocations: 7.812 kB / 0.7899 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.263, allocations: 4 kB / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2632, allocations: 314.8 kB / 0.7902 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.2633, allocations: 7.984 kB / 0.7902 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.2633, allocations: 17.84 kB / 0.7902 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.2633, allocations: 8 kB / 0.7902 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2633, allocations: 0 / 0.7902 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.2635, allocations: 57.58 kB / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2635, allocations: 4 kB / 0.7903 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2635, allocations: 0 / 0.7903 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.2635, allocations: 4 kB / 0.7903 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.2636, allocations: 8.062 kB / 0.7903 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2636, allocations: 0 / 0.7903 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.2637, allocations: 4 kB / 0.7903 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.2637, allocations: 0 / 0.7903 GB, free: 8.367 MB / 0.6075 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 0.0001061/0.2638, allocations: 117.8 kB / 0.7904 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.2638, allocations: 3.953 kB / 0.7904 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.264, allocations: 57.06 kB / 0.7905 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.264, allocations: 4.188 kB / 0.7905 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.264, allocations: 3.938 kB / 0.7905 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.264, allocations: 3.984 kB / 0.7905 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.2642, allocations: 153.7 kB / 0.7906 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2642, allocations: 0 / 0.7906 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.2642, allocations: 8 kB / 0.7906 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2642, allocations: 3.953 kB / 0.7906 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2643, allocations: 7.984 kB / 0.7906 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2643, allocations: 0 / 0.7906 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2643, allocations: 0 / 0.7906 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.2644, allocations: 81.03 kB / 0.7907 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.2645, allocations: 85.08 kB / 0.7908 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2645, allocations: 3.953 kB / 0.7908 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.453e-05/0.2645, allocations: 0 / 0.7908 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.2646, allocations: 3.984 kB / 0.7908 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.2646, allocations: 8 kB / 0.7908 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.2646, allocations: 75.28 kB / 0.7909 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2646, allocations: 160 / 0.7909 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002107/0.2649, allocations: 28 kB / 0.7909 GB, free: 7.621 MB / 0.6075 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.0002504/0.2651, allocations: 127.2 kB / 0.791 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.2652, allocations: 19.98 kB / 0.791 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2652, allocations: 0 / 0.791 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.2652, allocations: 7.938 kB / 0.791 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.2654, allocations: 2.438 kB / 0.7911 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.2656, allocations: 122.2 kB / 0.7912 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2659, allocations: 0.6809 MB / 0.7918 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.2659, allocations: 0 / 0.7918 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.2659, allocations: 11.44 kB / 0.7918 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2659, allocations: 3.938 kB / 0.7918 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of Templates: time 0.002932/0.2689, allocations: 0.8351 MB / 0.7927 GB, free: 5.758 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: