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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,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.001427/0.001427, allocations: 108 kB / 15.6 MB, free: 132 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.001691/0.001691, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7451 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.31 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3235, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001869/0.3254, allocations: 0.5836 MB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006907/0.3261, allocations: 344.9 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.3261, allocations: 4 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.3262, allocations: 3.938 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.758e-05/0.3262, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.3267, allocations: 119.5 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.3268, allocations: 8 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.3268, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.3269, allocations: 11.92 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.3269, allocations: 7.938 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3269, allocations: 4 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.3273, allocations: 275.6 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3273, allocations: 7.984 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.3273, allocations: 4 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.3275, allocations: 87.8 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3275, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3275, allocations: 4 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3276, allocations: 0 / 1.07 GB, free: 8.918 MB / 0.8262 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.0003514/0.3279, allocations: 339.6 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.328, allocations: 12.03 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.328, allocations: 4.922 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/0.3281, allocations: 164.6 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3281, allocations: 4.375 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3282, allocations: 384 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.657e-05/0.3283, allocations: 34.25 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.3283, allocations: 192 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3283, allocations: 11.88 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3283, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.3283, allocations: 11.94 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.3285, allocations: 161.6 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.3286, allocations: 18.61 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.3286, allocations: 8.922 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.3293, allocations: 457.5 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3293, allocations: 38.56 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3293, allocations: 3.938 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005031/0.3298, allocations: 250.6 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3299, allocations: 51.41 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.094e-05/0.33, allocations: 101.8 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.33, allocations: 25.7 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.33, allocations: 80.14 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.33, allocations: 11.8 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3301, allocations: 17.72 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3302, allocations: 315 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.3302, allocations: 12 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.3302, allocations: 21.7 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.3303, allocations: 21.72 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3303, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.3304, allocations: 53.62 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3304, allocations: 12 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3304, allocations: 4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3305, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.3305, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3305, allocations: 4 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.3306, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3306, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 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 6.946e-05/0.3307, allocations: 113.8 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3307, allocations: 3.938 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3308, allocations: 61.17 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3308, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3308, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3308, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.428e-05/0.3309, allocations: 149.7 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.331, allocations: 192 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.331, allocations: 11.94 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.331, allocations: 3.938 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.3311, allocations: 7.984 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3311, allocations: 7.984 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3311, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.3312, allocations: 81 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.3313, allocations: 77.11 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3313, allocations: 11.88 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.3313, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3313, allocations: 7.984 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3314, allocations: 0 / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.3314, allocations: 79.34 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3314, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002134/0.3316, allocations: 24 kB / 1.072 GB, free: 5.598 MB / 0.8262 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.0002177/0.3318, allocations: 131.8 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.3319, allocations: 19.92 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.332, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.332, allocations: 12.22 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.3321, allocations: 4 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.3324, allocations: 117.7 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3326, allocations: 0.6768 MB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.3327, allocations: 7.984 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.3327, allocations: 7.438 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.3327, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.003101/0.3358, allocations: 0.8815 MB / 1.074 GB, free: 3.688 MB / 0.8262 GB 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)