Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001253/0.001253, allocations: 191.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6059/0.6059, allocations: 95.47 MB / 364.8 MB, free: 10.13 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.92 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3313, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001752/0.3331, allocations: 0.6172 MB / 0.5023 GB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005387/0.3337, allocations: 345.8 kB / 0.5026 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.3337, allocations: 7.938 kB / 0.5026 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.3337, allocations: 0 / 0.5026 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.028e-05/0.3338, allocations: 0 / 0.5026 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.3341, allocations: 75.78 kB / 0.5027 GB, free: 16.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.599e-05/0.3341, allocations: 4 kB / 0.5027 GB, free: 16.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.3342, allocations: 7.984 kB / 0.5027 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.3342, allocations: 0 / 0.5027 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.3342, allocations: 11.98 kB / 0.5027 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3342, allocations: 4 kB / 0.5027 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.3345, allocations: 227.7 kB / 0.503 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.3345, allocations: 7.938 kB / 0.503 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.3346, allocations: 3.984 kB / 0.503 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3347, allocations: 91.81 kB / 0.5031 GB, free: 16.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3347, allocations: 4 kB / 0.5031 GB, free: 16.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.3347, allocations: 0 / 0.5031 GB, free: 16.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.3347, allocations: 0 / 0.5031 GB, free: 16.23 MB / 382.1 MB 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.0002404/0.335, allocations: 343.5 kB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.335, allocations: 11.98 kB / 0.5034 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.3351, allocations: 8.922 kB / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.3352, allocations: 168.4 kB / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.3352, allocations: 384 / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3352, allocations: 3.938 kB / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.3353, allocations: 37.64 kB / 0.5036 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.3353, allocations: 0 / 0.5036 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3353, allocations: 0 / 0.5036 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3353, allocations: 0 / 0.5036 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.3353, allocations: 7.984 kB / 0.5036 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.3354, allocations: 159.6 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.3355, allocations: 26.53 kB / 0.5038 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.3355, allocations: 8.922 kB / 0.5038 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/0.3361, allocations: 457.5 kB / 0.5042 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3361, allocations: 34.5 kB / 0.5043 GB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3362, allocations: 0 / 0.5043 GB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005378/0.3367, allocations: 250.3 kB / 0.5045 GB, free: 14.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.3367, allocations: 59.62 kB / 0.5046 GB, free: 14.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.144e-05/0.3368, allocations: 93.84 kB / 0.5047 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.3368, allocations: 29.7 kB / 0.5047 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/0.3368, allocations: 80.14 kB / 0.5048 GB, free: 14.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3368, allocations: 11.84 kB / 0.5048 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.3369, allocations: 13.72 kB / 0.5048 GB, free: 14.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.3369, allocations: 318.8 kB / 0.5051 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.3369, allocations: 4 kB / 0.5051 GB, free: 13.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.337, allocations: 25.72 kB / 0.5051 GB, free: 13.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.337, allocations: 37.64 kB / 0.5052 GB, free: 13.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.337, allocations: 3.938 kB / 0.5052 GB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.007e-05/0.3371, allocations: 49.61 kB / 0.5052 GB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3371, allocations: 4 kB / 0.5052 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3371, allocations: 0 / 0.5052 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3371, allocations: 4.062 kB / 0.5052 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.3372, allocations: 15.92 kB / 0.5052 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3372, allocations: 0 / 0.5052 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.3372, allocations: 0 / 0.5052 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3372, allocations: 4 kB / 0.5052 GB, free: 13.63 MB / 382.1 MB 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.023e-05/0.3373, allocations: 109.8 kB / 0.5053 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3373, allocations: 4 kB / 0.5053 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.868e-05/0.3374, allocations: 53.19 kB / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3374, allocations: 4 kB / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3374, allocations: 7.984 kB / 0.5054 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3374, allocations: 0 / 0.5054 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.972e-05/0.3375, allocations: 157.6 kB / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3375, allocations: 3.938 kB / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.3375, allocations: 4 kB / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3376, allocations: 0 / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3376, allocations: 4 kB / 0.5056 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3376, allocations: 0 / 0.5056 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3376, allocations: 192 / 0.5056 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.3377, allocations: 89.05 kB / 0.5057 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.3377, allocations: 81.09 kB / 0.5057 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.3377, allocations: 0 / 0.5057 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.3378, allocations: 4.031 kB / 0.5057 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.3378, allocations: 0 / 0.5057 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.3378, allocations: 0 / 0.5057 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.746e-05/0.3378, allocations: 79.28 kB / 0.5058 GB, free: 12.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3378, allocations: 0 / 0.5058 GB, free: 12.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.338, allocations: 24.14 kB / 0.5058 GB, free: 12.91 MB / 382.1 MB 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.0001429/0.3382, allocations: 131.2 kB / 0.506 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.3383, allocations: 19.92 kB / 0.506 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3383, allocations: 0 / 0.506 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.3383, allocations: 8 kB / 0.506 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.3384, allocations: 11.88 kB / 0.506 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.3386, allocations: 115.5 kB / 0.5061 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.3387, allocations: 0.677 MB / 0.5068 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.404e-05/0.3388, allocations: 4 kB / 0.5068 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.3388, allocations: 7.438 kB / 0.5068 GB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3388, allocations: 0 / 0.5068 GB, free: 11.88 MB / 382.1 MB Notification: Performance of Templates: time 0.002415/0.3412, allocations: 0.8305 MB / 0.5076 GB, free: 11.06 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)