Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.085/2.085, allocations: 252 MB / 268 MB, free: 10.87 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.001502/0.001502, allocations: 177.9 kB / 327.6 MB, free: 2.102 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.761/1.761, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0008819/0.0008819, allocations: 90.11 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003153, allocations: 17.28 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.192, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001506/0.1935, allocations: 1.176 MB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.1942, allocations: 391.7 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.1943, allocations: 0 / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.1943, allocations: 0 / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.1944, allocations: 11.92 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1947, allocations: 71.84 kB / 0.9031 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.1948, allocations: 23.94 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.1949, allocations: 7.984 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.1949, allocations: 11.94 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.195, allocations: 15.91 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.195, allocations: 0 / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.1953, allocations: 275.7 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.1953, allocations: 0 / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.1954, allocations: 37.62 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1955, allocations: 67.88 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1955, allocations: 0 / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1955, allocations: 7.938 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1955, allocations: 0 / 0.9035 GB, free: 61.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004023/0.196, allocations: 363.8 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.196, allocations: 8.031 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.1961, allocations: 8.844 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.154e-05/0.1962, allocations: 164.3 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1962, allocations: 384 / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1962, allocations: 8.375 kB / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1964, allocations: 58.17 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1964, allocations: 4.125 kB / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1964, allocations: 7.922 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1964, allocations: 0 / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1966, allocations: 47.95 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.1969, allocations: 253 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.197, allocations: 46.5 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.1971, allocations: 24.91 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.1977, allocations: 469.4 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.1977, allocations: 34.56 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1977, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003753/0.1981, allocations: 101.5 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.1981, allocations: 55.41 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.1982, allocations: 101.8 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.1982, allocations: 29.7 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.1982, allocations: 80.14 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1983, allocations: 11.89 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.1983, allocations: 4.125 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.1983, allocations: 310.8 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.1984, allocations: 27.97 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.1985, allocations: 23.92 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1986, allocations: 52.89 kB / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1986, allocations: 0 / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.1988, allocations: 81.59 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1989, allocations: 8 kB / 0.9058 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1989, allocations: 0 / 0.9058 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1989, allocations: 0 / 0.9058 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.199, allocations: 11.98 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.199, allocations: 0 / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.199, allocations: 12.03 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1991, allocations: 0 / 0.9058 GB, free: 58.71 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 (2): * Single equations (assignments): 2 * 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 5.418e-05/0.1991, allocations: 117.7 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1992, allocations: 8 kB / 0.9059 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.1994, allocations: 81.19 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1994, allocations: 3.938 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1994, allocations: 3.938 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1994, allocations: 256 / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1995, allocations: 169.6 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1995, allocations: 4 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.1996, allocations: 8 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1996, allocations: 3.984 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1996, allocations: 4.031 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1996, allocations: 0 / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1996, allocations: 4 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1998, allocations: 183.3 kB / 0.9063 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.1999, allocations: 77.11 kB / 0.9064 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1999, allocations: 4 kB / 0.9064 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.2, allocations: 7.984 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.2, allocations: 4 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.2, allocations: 0 / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.514e-05/0.2, allocations: 83.28 kB / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2001, allocations: 0 / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002234/0.2003, allocations: 23.95 kB / 0.9065 GB, free: 57.84 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 (2): * Single equations (assignments): 2 * 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.0001351/0.2004, allocations: 103.2 kB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2006, allocations: 51.89 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2006, allocations: 4.062 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.2007, allocations: 23.98 kB / 0.9067 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.201, allocations: 9.828 kB / 0.9067 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.2012, allocations: 138.3 kB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.2013, allocations: 0.681 MB / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.2014, allocations: 15.38 kB / 0.9075 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.2014, allocations: 0 / 0.9075 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.00175/0.2031, allocations: 0.6865 MB / 0.9082 GB, free: 56.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)