Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001005/0.001005, allocations: 92.16 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.001288/0.001288, allocations: 173.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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7024/0.7027, allocations: 142.4 MB / 0.9557 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007027/0.7035, allocations: 337.9 kB / 0.956 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.7042, allocations: 349.2 kB / 0.9564 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.488e-05/0.7042, allocations: 0 / 0.9564 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.7042, allocations: 0.9375 kB / 0.9564 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.554e-05/0.7042, allocations: 3.938 kB / 0.9564 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.7046, allocations: 84.75 kB / 0.9565 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.7047, allocations: 8.266 kB / 0.9565 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.7047, allocations: 1.281 kB / 0.9565 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.7048, allocations: 2.656 kB / 0.9565 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.7048, allocations: 5.469 kB / 0.9565 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.7048, allocations: 1.312 kB / 0.9565 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.7052, allocations: 270.1 kB / 0.9567 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.7052, allocations: 8.984 kB / 0.9567 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.7053, allocations: 35.73 kB / 0.9568 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.7054, allocations: 56.08 kB / 0.9568 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7054, allocations: 0 / 0.9568 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7054, allocations: 0 / 0.9568 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.7054, allocations: 1.031 kB / 0.9568 GB, free: 7.004 MB / 0.7169 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.0002867/0.7057, allocations: 340.2 kB / 0.9572 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7057, allocations: 9.344 kB / 0.9572 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.7058, allocations: 2.094 kB / 0.9572 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.47e-05/0.7059, allocations: 165.6 kB / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.7059, allocations: 5.469 kB / 0.9573 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.7059, allocations: 1.531 kB / 0.9573 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.706, allocations: 38.66 kB / 0.9574 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.706, allocations: 192 / 0.9574 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.7061, allocations: 3.938 kB / 0.9574 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.7061, allocations: 5.031 kB / 0.9574 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.7061, allocations: 2.406 kB / 0.9574 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.7062, allocations: 152.7 kB / 0.9575 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.7063, allocations: 27.48 kB / 0.9576 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.7063, allocations: 6.953 kB / 0.9576 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/0.7069, allocations: 467.9 kB / 0.958 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.707, allocations: 31.94 kB / 0.958 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.707, allocations: 7.922 kB / 0.958 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004726/0.7075, allocations: 252.9 kB / 0.9583 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.7075, allocations: 52.56 kB / 0.9583 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.365e-05/0.7075, allocations: 104.5 kB / 0.9584 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.7076, allocations: 27.05 kB / 0.9585 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.7076, allocations: 80.14 kB / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.7076, allocations: 9.25 kB / 0.9585 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.7076, allocations: 11 kB / 0.9586 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.7077, allocations: 312.2 kB / 0.9589 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.7077, allocations: 11.52 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.7077, allocations: 18.84 kB / 0.9589 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.7078, allocations: 27.5 kB / 0.9589 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.7078, allocations: 0 / 0.9589 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.035e-05/0.7079, allocations: 54 kB / 0.959 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7079, allocations: 8.625 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7079, allocations: 0 / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.7079, allocations: 0.9688 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.708, allocations: 6.781 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.708, allocations: 7.984 kB / 0.959 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.708, allocations: 8.953 kB / 0.959 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.7081, allocations: 2.281 kB / 0.959 GB, free: 4.594 MB / 0.7169 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 4.959e-05/0.7081, allocations: 110.9 kB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.7081, allocations: 9.844 kB / 0.9591 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.7083, allocations: 57.28 kB / 0.9592 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7083, allocations: 5.594 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7083, allocations: 0 / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7083, allocations: 0 / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.866e-05/0.7084, allocations: 162.6 kB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7084, allocations: 0 / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.7084, allocations: 7.828 kB / 0.9593 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7084, allocations: 5.844 kB / 0.9593 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.7084, allocations: 0 / 0.9593 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7085, allocations: 0 / 0.9593 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7085, allocations: 0 / 0.9593 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.7086, allocations: 82.38 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.7086, allocations: 79.08 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.7086, allocations: 7.922 kB / 0.9595 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.7087, allocations: 14 kB / 0.9595 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.7087, allocations: 0 / 0.9595 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.7087, allocations: 2 kB / 0.9595 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.733e-05/0.7087, allocations: 77.19 kB / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7087, allocations: 0 / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000216/0.7089, allocations: 27.84 kB / 0.9596 GB, free: 3.922 MB / 0.7169 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.0001943/0.7091, allocations: 126.2 kB / 0.9597 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.17e-05/0.7092, allocations: 14.77 kB / 0.9597 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7092, allocations: 1.062 kB / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/0.7093, allocations: 10.09 kB / 0.9598 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.7094, allocations: 6 kB / 0.9598 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.7097, allocations: 137.2 kB / 0.9599 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.112e-05/0.7098, allocations: 0.6814 MB / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.7098, allocations: 14.28 kB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7098, allocations: 0 / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of Templates: time 0.002064/0.7119, allocations: 0.7572 MB / 0.9613 GB, free: 2.57 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)