Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.799/1.799, allocations: 285.4 MB / 298 MB, free: 6.043 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 180.8 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 0.6248 GB, free: 7.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008572/0.0008569, allocations: 86.91 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.316e-05, allocations: 11.98 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8408, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2209/1.062, allocations: 138.5 MB / 1.106 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/1.062, allocations: 73.11 kB / 1.106 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01239/1.074, allocations: 4.313 MB / 1.11 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.923e-06/1.075, allocations: 1.219 kB / 1.11 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.919e-06/1.075, allocations: 0 / 1.11 GB, free: 8.953 MB / 0.7136 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.0004924/1.075, allocations: 371.6 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.075, allocations: 8.031 kB / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/1.075, allocations: 7.906 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/1.075, allocations: 167 kB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.075, allocations: 4.719 kB / 1.111 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/1.075, allocations: 0.5625 kB / 1.111 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/1.076, allocations: 38.66 kB / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.076, allocations: 0 / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.076, allocations: 6.625 kB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.076, allocations: 0.9688 kB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/1.076, allocations: 8 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/1.076, allocations: 283 kB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/1.076, allocations: 26.64 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/1.076, allocations: 12.86 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/1.077, allocations: 457.5 kB / 1.112 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/1.077, allocations: 34.56 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/1.077, allocations: 0 / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000218/1.077, allocations: 45.69 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/1.077, allocations: 55.34 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/1.077, allocations: 97 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.077, allocations: 25.7 kB / 1.112 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/1.077, allocations: 80.14 kB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/1.077, allocations: 11.91 kB / 1.112 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.077, allocations: 4.031 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.078, allocations: 318.8 kB / 1.112 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/1.078, allocations: 8 kB / 1.112 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/1.078, allocations: 4 kB / 1.112 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.911e-05/1.078, allocations: 0 / 1.112 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.078, allocations: 4 kB / 1.112 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/1.078, allocations: 41.61 kB / 1.112 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.078, allocations: 8 kB / 1.112 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.078, allocations: 8.031 kB / 1.112 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.078, allocations: 0 / 1.112 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.078, allocations: 19.92 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.078, allocations: 0 / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/1.078, allocations: 11.98 kB / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.078, allocations: 0 / 1.113 GB, free: 6.539 MB / 0.7136 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 () * 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 6.619e-05/1.078, allocations: 104.9 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/1.078, allocations: 11.98 kB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/1.078, allocations: 51.53 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.078, allocations: 4 kB / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.078, allocations: 0 / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.078, allocations: 0 / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/1.078, allocations: 169.1 kB / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.078, allocations: 1.969 kB / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/1.079, allocations: 11.98 kB / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.079, allocations: 4.031 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/1.079, allocations: 4 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.079, allocations: 3.938 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.079, allocations: 0 / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/1.079, allocations: 139.4 kB / 1.113 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/1.079, allocations: 85.09 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/1.079, allocations: 0 / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/1.079, allocations: 12.03 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/1.079, allocations: 3.984 kB / 1.113 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/1.079, allocations: 0 / 1.113 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.906e-05/1.079, allocations: 83.28 kB / 1.113 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/1.079, allocations: 0 / 1.113 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002268/1.079, allocations: 20 kB / 1.113 GB, free: 5.746 MB / 0.7136 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 () * 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.0002085/1.079, allocations: 117.3 kB / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/1.08, allocations: 23.94 kB / 1.113 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.08, allocations: 0 / 1.113 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/1.08, allocations: 4 kB / 1.113 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/1.08, allocations: 5.688 kB / 1.113 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/1.08, allocations: 71.28 kB / 1.113 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/1.08, allocations: 0.6809 MB / 1.114 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.589e-05/1.08, allocations: 0 / 1.114 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/1.08, allocations: 11.56 kB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/1.08, allocations: 0 / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.002875/1.083, allocations: 0.6054 MB / 1.115 GB, free: 4.211 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)