Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.782/1.782, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001233/0.001234, allocations: 185.8 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0008015/0.0008015, allocations: 93.05 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 11.94 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007438/0.2395, allocations: 327.3 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006326/0.2401, allocations: 355.7 kB / 0.8974 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.2402, allocations: 0 / 0.8974 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.2402, allocations: 0 / 0.8974 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.2402, allocations: 3.938 kB / 0.8974 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.2406, allocations: 74.92 kB / 0.8975 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.2407, allocations: 7.938 kB / 0.8975 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.2407, allocations: 3.984 kB / 0.8975 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.438e-05/0.2408, allocations: 0 / 0.8975 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.2408, allocations: 0 / 0.8975 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.2408, allocations: 4 kB / 0.8975 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.2412, allocations: 275.7 kB / 0.8978 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.2412, allocations: 0 / 0.8978 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.2412, allocations: 3.984 kB / 0.8978 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.2414, allocations: 51.91 kB / 0.8978 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2414, allocations: 0 / 0.8978 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2414, allocations: 0 / 0.8978 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2414, allocations: 0 / 0.8978 GB, free: 67.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002336/0.2416, allocations: 333 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2417, allocations: 8.031 kB / 0.8981 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.2418, allocations: 8.844 kB / 0.8981 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.796e-05/0.2418, allocations: 168.4 kB / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2418, allocations: 4.375 kB / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.2419, allocations: 384 / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.741e-05/0.242, allocations: 26.27 kB / 0.8983 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.242, allocations: 8.062 kB / 0.8983 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.242, allocations: 3.938 kB / 0.8983 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.242, allocations: 0 / 0.8983 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.242, allocations: 4 kB / 0.8983 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.2422, allocations: 154 kB / 0.8985 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.333e-05/0.2422, allocations: 18.61 kB / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.2422, allocations: 4.859 kB / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.2426, allocations: 425.6 kB / 0.8989 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2427, allocations: 34.56 kB / 0.899 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.2427, allocations: 0 / 0.899 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.2428, allocations: 37.58 kB / 0.899 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.2429, allocations: 55.41 kB / 0.899 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.233e-05/0.2429, allocations: 93.86 kB / 0.8991 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.2429, allocations: 25.7 kB / 0.8992 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.228e-05/0.2429, allocations: 80.14 kB / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.243, allocations: 8.047 kB / 0.8992 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.243, allocations: 13.72 kB / 0.8993 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.243, allocations: 310.8 kB / 0.8995 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.243, allocations: 0 / 0.8995 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.2431, allocations: 4 kB / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.2431, allocations: 12.8 kB / 0.8996 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2431, allocations: 3.938 kB / 0.8996 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.634e-05/0.2432, allocations: 33.7 kB / 0.8996 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2432, allocations: 10.59 kB / 0.8996 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2432, allocations: 0 / 0.8996 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2432, allocations: 11.92 kB / 0.8996 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.2433, allocations: 4 kB / 0.8996 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2433, allocations: 0 / 0.8996 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.2433, allocations: 0 / 0.8996 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2433, allocations: 0 / 0.8996 GB, free: 64.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.283e-05/0.2434, allocations: 109.8 kB / 0.8997 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.2434, allocations: 0 / 0.8997 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.899e-05/0.2435, allocations: 52.69 kB / 0.8998 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2435, allocations: 0 / 0.8998 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2435, allocations: 3.938 kB / 0.8998 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2435, allocations: 0 / 0.8998 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.255e-05/0.2436, allocations: 145.7 kB / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2436, allocations: 0 / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.2436, allocations: 0 / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2436, allocations: 0 / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2436, allocations: 7.938 kB / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2436, allocations: 3.984 kB / 0.8999 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2436, allocations: 4.031 kB / 0.8999 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.2437, allocations: 61.06 kB / 0.9 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.2437, allocations: 81.11 kB / 0.9001 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.2437, allocations: 3.938 kB / 0.9001 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.2437, allocations: 0 / 0.9001 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.2437, allocations: 3.984 kB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.2438, allocations: 0 / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.293e-05/0.2438, allocations: 79.31 kB / 0.9002 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2438, allocations: 0 / 0.9002 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002067/0.244, allocations: 16 kB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0001496/0.2441, allocations: 103.2 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.172e-05/0.2442, allocations: 4 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2442, allocations: 0 / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-06/0.2442, allocations: 7.984 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.2444, allocations: 4.125 kB / 0.9003 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001623/0.2445, allocations: 104.3 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.2447, allocations: 0.6731 MB / 0.901 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.2447, allocations: 11.38 kB / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2447, allocations: 0 / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.001702/0.2464, allocations: 460.8 kB / 0.9015 GB, free: 62.81 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)