Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.448/2.448, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001735/0.001735, allocations: 178.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 92.92 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004961, allocations: 13.73 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9526/1.159, allocations: 138.4 MB / 1.114 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.159, allocations: 78.5 kB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01923/1.179, allocations: 4.348 MB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.179, allocations: 0 / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.179, allocations: 0 / 1.119 GB, free: 31.28 MB / 0.698 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.0005349/1.179, allocations: 378.5 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.179, allocations: 7.781 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/1.179, allocations: 4.812 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/1.179, allocations: 163.5 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.179, allocations: 4.312 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/1.179, allocations: 4.188 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/1.18, allocations: 59.19 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.18, allocations: 8.172 kB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.18, allocations: 3.938 kB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/1.18, allocations: 3.141 kB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/1.18, allocations: 47.84 kB / 1.119 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/1.18, allocations: 266.8 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/1.181, allocations: 47.08 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/1.181, allocations: 38.67 kB / 1.12 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008311/1.182, allocations: 458.5 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.182, allocations: 34.44 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.182, allocations: 0 / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005581/1.182, allocations: 105.9 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.182, allocations: 51.41 kB / 1.12 GB, free: 29.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/1.182, allocations: 104.1 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.182, allocations: 25.7 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/1.183, allocations: 82.91 kB / 1.121 GB, free: 29.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/1.183, allocations: 11.53 kB / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.183, allocations: 0 / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.183, allocations: 318.8 kB / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.183, allocations: 21 kB / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/1.183, allocations: 21.36 kB / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/1.183, allocations: 57.19 kB / 1.121 GB, free: 29.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.183, allocations: 0 / 1.121 GB, free: 29.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003387/1.184, allocations: 84.7 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.184, allocations: 6.953 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.184, allocations: 0 / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.184, allocations: 0 / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/1.184, allocations: 10.84 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.184, allocations: 0 / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/1.184, allocations: 7.844 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/1.184, allocations: 4.031 kB / 1.121 GB, free: 29.12 MB / 0.698 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 9.121e-05/1.184, allocations: 123.7 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/1.184, allocations: 7.844 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/1.184, allocations: 93.14 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.185, allocations: 0 / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.185, allocations: 0 / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.185, allocations: 0 / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/1.185, allocations: 158.2 kB / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.185, allocations: 3.875 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/1.185, allocations: 10.41 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.185, allocations: 0 / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/1.185, allocations: 2.297 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.185, allocations: 3.938 kB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.185, allocations: 4.031 kB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/1.185, allocations: 175.9 kB / 1.122 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/1.185, allocations: 86.03 kB / 1.122 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/1.185, allocations: 0 / 1.122 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/1.186, allocations: 7.766 kB / 1.122 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/1.186, allocations: 3.906 kB / 1.122 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/1.186, allocations: 0 / 1.122 GB, free: 28.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.333e-05/1.186, allocations: 89.22 kB / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.186, allocations: 0 / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003264/1.186, allocations: 15.56 kB / 1.122 GB, free: 28.44 MB / 0.698 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.0001833/1.186, allocations: 123.6 kB / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003153/1.187, allocations: 45.16 kB / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.187, allocations: 0 / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/1.187, allocations: 31.73 kB / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/1.187, allocations: 7.75 kB / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/1.187, allocations: 119.2 kB / 1.122 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/1.188, allocations: 0.6762 MB / 1.123 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.663e-05/1.188, allocations: 8.031 kB / 1.123 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/1.188, allocations: 7.438 kB / 1.123 GB, free: 27.51 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.188, allocations: 0 / 1.123 GB, free: 27.51 MB / 0.698 GB Notification: Performance of Templates: time 0.003186/1.191, allocations: 0.6102 MB / 1.123 GB, free: 27.45 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)