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.373/1.373, allocations: 252 MB / 267.6 MB, free: 10.95 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.0009924/0.000992, allocations: 179.1 kB / 327.3 MB, free: 2.215 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.546/1.546, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0007041/0.000704, allocations: 98.22 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004527, allocations: 13.56 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2592, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008162/0.2601, allocations: 338.3 kB / 0.9012 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.2609, allocations: 320.5 kB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.2609, allocations: 0 / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.261, allocations: 0 / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.261, allocations: 0 / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.2615, allocations: 79.72 kB / 0.9015 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.458e-05/0.2615, allocations: 8 kB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.2616, allocations: 4 kB / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.2616, allocations: 4 kB / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.2617, allocations: 7.984 kB / 0.9016 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2617, allocations: 0 / 0.9016 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.2622, allocations: 263.7 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.2622, allocations: 7.938 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.2623, allocations: 29.7 kB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.2624, allocations: 59.88 kB / 0.9019 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2624, allocations: 3.938 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2625, allocations: 0 / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2625, allocations: 0 / 0.9019 GB, free: 62.8 MB / 0.6042 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.000339/0.2628, allocations: 343.3 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2629, allocations: 8.031 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.263, allocations: 4 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.2631, allocations: 163 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2631, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.2631, allocations: 4 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.2632, allocations: 45.62 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2633, allocations: 0 / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2633, allocations: 4 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2633, allocations: 0 / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.2633, allocations: 7.938 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2635, allocations: 153.6 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.2636, allocations: 18.67 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.2636, allocations: 8.859 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008621/0.2645, allocations: 461.5 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2645, allocations: 38.56 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.2645, allocations: 0 / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005868/0.2651, allocations: 250.3 kB / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2652, allocations: 51.41 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.2653, allocations: 101.8 kB / 0.9035 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2653, allocations: 25.7 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.2653, allocations: 80.14 kB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2653, allocations: 12.45 kB / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/0.2654, allocations: 12 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.2654, allocations: 314.8 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.2654, allocations: 4 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.2655, allocations: 17.72 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.2655, allocations: 7.984 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2655, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.2657, allocations: 53.61 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2657, allocations: 8 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2657, allocations: 4 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2658, allocations: 0 / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.2659, allocations: 7.984 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2659, allocations: 0 / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.2659, allocations: 8 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2659, allocations: 0 / 0.904 GB, free: 60.27 MB / 0.6042 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.262e-05/0.266, allocations: 113.8 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.266, allocations: 0 / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2662, allocations: 69.19 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2662, allocations: 7.969 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2662, allocations: 0 / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2662, allocations: 0 / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.942e-05/0.2663, allocations: 153.6 kB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2663, allocations: 0 / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.2664, allocations: 8 kB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2664, allocations: 0 / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.2665, allocations: 8 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2665, allocations: 0 / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2665, allocations: 0 / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.2666, allocations: 77.05 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.2667, allocations: 85.09 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.2667, allocations: 4 kB / 0.9045 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.2668, allocations: 0 / 0.9045 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.2668, allocations: 0 / 0.9045 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.2668, allocations: 8.062 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.2668, allocations: 75.28 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2669, allocations: 0 / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003478/0.2672, allocations: 27.98 kB / 0.9046 GB, free: 59.54 MB / 0.6042 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.0002375/0.2675, allocations: 127.2 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.2676, allocations: 12 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2676, allocations: 0 / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.2676, allocations: 12.16 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.2679, allocations: 14.02 kB / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.2681, allocations: 134.3 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2683, allocations: 0.6809 MB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.2683, allocations: 7.438 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2683, allocations: 0 / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.002704/0.271, allocations: 0.7642 MB / 0.9063 GB, free: 57.74 MB / 0.6042 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)