Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.824/3.824, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.002474/0.002473, allocations: 171.5 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.101/4.101, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.001459/0.001459, allocations: 94.77 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007901/0.0007904, allocations: 11.94 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3271, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.674, allocations: 132.1 MB / 1.029 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000453/0.6746, allocations: 71.97 kB / 1.029 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03625/0.7109, allocations: 4.364 MB / 1.033 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.817e-06/0.7109, allocations: 0 / 1.033 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.711, allocations: 0 / 1.033 GB, free: 8.816 MB / 0.6823 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.0007884/0.7118, allocations: 371.3 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7118, allocations: 8.031 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.7119, allocations: 4.938 kB / 1.033 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.7122, allocations: 172.3 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.7122, allocations: 384 / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.7123, allocations: 4.375 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.7126, allocations: 58.17 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.7127, allocations: 192 / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.7127, allocations: 3.938 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.7127, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.7132, allocations: 43.97 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.714, allocations: 269 kB / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.7144, allocations: 58.36 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.7147, allocations: 32.84 kB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.7164, allocations: 457.5 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.7165, allocations: 34.56 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.576e-06/0.7165, allocations: 4 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.001001/0.7175, allocations: 97.64 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.7176, allocations: 51.53 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.7179, allocations: 101.9 kB / 1.035 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.7179, allocations: 29.7 kB / 1.035 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.718, allocations: 88.12 kB / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.7181, allocations: 3.906 kB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.7181, allocations: 0 / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.7183, allocations: 318.8 kB / 1.035 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.7185, allocations: 23.92 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.7188, allocations: 27.97 kB / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.719, allocations: 15.98 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7191, allocations: 0 / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006371/0.7197, allocations: 93.56 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.7198, allocations: 4 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7198, allocations: 0 / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.7198, allocations: 0 / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.7201, allocations: 8 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7201, allocations: 12.02 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.7203, allocations: 7.938 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.7203, allocations: 0 / 1.035 GB, free: 6.152 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.7205, allocations: 113.8 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.7206, allocations: 0 / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006477/0.7213, allocations: 93.11 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.7213, allocations: 4 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7213, allocations: 256 / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7213, allocations: 0 / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.7217, allocations: 165.6 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.7218, allocations: 0 / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.722, allocations: 16.02 kB / 1.036 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/0.7221, allocations: 11.92 kB / 1.036 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.7221, allocations: 0 / 1.036 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.7221, allocations: 0 / 1.036 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7222, allocations: 0 / 1.036 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.7231, allocations: 183.4 kB / 1.036 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.7233, allocations: 85 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.7233, allocations: 0 / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.7236, allocations: 8 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.7238, allocations: 11.92 kB / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.7238, allocations: 0 / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001152/0.7239, allocations: 83.31 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.52e-07/0.7239, allocations: 0 / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007909/0.7247, allocations: 16 kB / 1.036 GB, free: 5.273 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004014/0.7252, allocations: 119.2 kB / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006648/0.7259, allocations: 47.97 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7259, allocations: 0 / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.7261, allocations: 27.91 kB / 1.036 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.7267, allocations: 11.94 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.7273, allocations: 112.8 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.7278, allocations: 0.677 MB / 1.037 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.562e-05/0.7279, allocations: 4 kB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.7279, allocations: 7.438 kB / 1.037 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of SimCode: time 1.824e-06/0.728, allocations: 0 / 1.037 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of Templates: time 0.006434/0.7344, allocations: 0.6096 MB / 1.037 GB, free: 3.605 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)