Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009898, allocations: 171.5 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4529/0.4529, allocations: 86.26 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 348.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007833, allocations: 90.78 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 16 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3293, allocations: 71.02 MB / 0.5595 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4458, allocations: 100.6 MB / 0.6577 GB, free: 8.922 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4461, allocations: 72.48 kB / 0.6577 GB, free: 8.852 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003192/0.4493, allocations: 1.126 MB / 0.6588 GB, free: 7.734 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4493, allocations: 0 / 0.6588 GB, free: 7.734 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4493, allocations: 0 / 0.6588 GB, free: 7.734 MB / 474.7 MB 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.0003645/0.4497, allocations: 347.4 kB / 0.6592 GB, free: 7.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.223e-05/0.4498, allocations: 15.97 kB / 0.6592 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.4498, allocations: 4.938 kB / 0.6592 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.45, allocations: 164.4 kB / 0.6593 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.45, allocations: 384 / 0.6593 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.45, allocations: 384 / 0.6593 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.4502, allocations: 58.23 kB / 0.6594 GB, free: 7.062 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4502, allocations: 192 / 0.6594 GB, free: 7.062 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4502, allocations: 3.938 kB / 0.6594 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4502, allocations: 4 kB / 0.6594 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.4504, allocations: 43.95 kB / 0.6594 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.4508, allocations: 276.8 kB / 0.6597 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.451, allocations: 46.48 kB / 0.6597 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.4511, allocations: 32.91 kB / 0.6598 GB, free: 6.602 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.4512, allocations: 85.09 kB / 0.6599 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4512, allocations: 30.56 kB / 0.6599 GB, free: 6.461 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.4512, allocations: 0 / 0.6599 GB, free: 6.461 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003532/0.4516, allocations: 101.6 kB / 0.66 GB, free: 6.355 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4516, allocations: 59.34 kB / 0.66 GB, free: 6.285 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.4517, allocations: 97.86 kB / 0.6601 GB, free: 6.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.4518, allocations: 25.7 kB / 0.6602 GB, free: 6.148 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.4518, allocations: 96.25 kB / 0.6603 GB, free: 6.051 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.4518, allocations: 3.906 kB / 0.6603 GB, free: 6.047 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-06/0.4518, allocations: 0 / 0.6603 GB, free: 6.047 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.452, allocations: 310.8 kB / 0.6606 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.452, allocations: 23.98 kB / 0.6606 GB, free: 5.711 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.4521, allocations: 19.98 kB / 0.6606 GB, free: 5.691 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.4523, allocations: 48.81 kB / 0.6606 GB, free: 5.641 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4523, allocations: 4 kB / 0.6606 GB, free: 5.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.4525, allocations: 89.59 kB / 0.6607 GB, free: 5.543 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4525, allocations: 4 kB / 0.6607 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4525, allocations: 0 / 0.6607 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4525, allocations: 0 / 0.6607 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.4526, allocations: 8 kB / 0.6607 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4527, allocations: 8.016 kB / 0.6607 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.4527, allocations: 11.94 kB / 0.6608 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.4527, allocations: 0 / 0.6608 GB, free: 5.512 MB / 474.7 MB 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 7.454e-05/0.4528, allocations: 113.8 kB / 0.6609 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.4528, allocations: 0 / 0.6609 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.4531, allocations: 96.61 kB / 0.661 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4531, allocations: 0 / 0.661 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4531, allocations: 0 / 0.661 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4531, allocations: 0 / 0.661 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.4533, allocations: 161.6 kB / 0.6611 GB, free: 5.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4533, allocations: 0 / 0.6611 GB, free: 5.078 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.4533, allocations: 12.02 kB / 0.6611 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4534, allocations: 4 kB / 0.6611 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.4534, allocations: 0 / 0.6611 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4534, allocations: 0 / 0.6611 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4534, allocations: 0 / 0.6611 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.4536, allocations: 183.4 kB / 0.6613 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.4536, allocations: 77.11 kB / 0.6614 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4537, allocations: 3.984 kB / 0.6614 GB, free: 4.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.4537, allocations: 8.25 kB / 0.6614 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.4538, allocations: 0 / 0.6614 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.4538, allocations: 11.92 kB / 0.6614 GB, free: 4.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.99e-05/0.4539, allocations: 83.28 kB / 0.6615 GB, free: 4.668 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4539, allocations: 4.031 kB / 0.6615 GB, free: 4.664 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.4541, allocations: 8 kB / 0.6615 GB, free: 4.656 MB / 474.7 MB 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.0001523/0.4542, allocations: 103.2 kB / 0.6616 GB, free: 4.547 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.4545, allocations: 55.89 kB / 0.6616 GB, free: 4.492 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4545, allocations: 0 / 0.6616 GB, free: 4.492 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.4546, allocations: 23.98 kB / 0.6617 GB, free: 4.469 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.4548, allocations: 7.938 kB / 0.6617 GB, free: 4.461 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.4551, allocations: 128.6 kB / 0.6618 GB, free: 4.305 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.4554, allocations: 0.677 MB / 0.6625 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.4554, allocations: 0 / 0.6625 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.4554, allocations: 11.44 kB / 0.6625 GB, free: 3.59 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4554, allocations: 0 / 0.6625 GB, free: 3.59 MB / 474.7 MB Notification: Performance of Templates: time 0.0025/0.4579, allocations: 481.8 kB / 0.6629 GB, free: 3.125 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)