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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.0009099/0.0009098, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4704/0.4704, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 98.33 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.423e-05, allocations: 8 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1263, allocations: 72.31 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5579, allocations: 101.2 MB / 0.6524 GB, free: 9.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.5581, allocations: 74.34 kB / 0.6524 GB, free: 9.031 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002896/0.5611, allocations: 1.102 MB / 0.6535 GB, free: 8.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5611, allocations: 0 / 0.6535 GB, free: 8.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.5611, allocations: 4 kB / 0.6535 GB, free: 8.07 MB / 458.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.0003202/0.5614, allocations: 335 kB / 0.6538 GB, free: 7.699 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.5615, allocations: 12.03 kB / 0.6539 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.5615, allocations: 3.953 kB / 0.6539 GB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.5616, allocations: 176.4 kB / 0.654 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5616, allocations: 0 / 0.654 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.5616, allocations: 0 / 0.654 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.277e-05/0.5617, allocations: 11.12 kB / 0.654 GB, free: 7.469 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.027e-05/0.5618, allocations: 37.64 kB / 0.6541 GB, free: 7.426 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.5618, allocations: 0 / 0.6541 GB, free: 7.426 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.5618, allocations: 0.6562 kB / 0.6541 GB, free: 7.426 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5618, allocations: 6.688 kB / 0.6541 GB, free: 7.422 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.5622, allocations: 244.3 kB / 0.6543 GB, free: 7.156 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.5622, allocations: 30.08 kB / 0.6543 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.5622, allocations: 4.859 kB / 0.6543 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.5624, allocations: 85.09 kB / 0.6544 GB, free: 7.012 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.5624, allocations: 33.81 kB / 0.6545 GB, free: 6.973 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 2.484e-06/0.5624, allocations: 7.938 kB / 0.6545 GB, free: 6.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000228/0.5626, allocations: 52.78 kB / 0.6545 GB, free: 6.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.5627, allocations: 59.39 kB / 0.6546 GB, free: 6.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.5627, allocations: 91.56 kB / 0.6547 GB, free: 6.746 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.5628, allocations: 25.7 kB / 0.6547 GB, free: 6.715 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.5628, allocations: 91.5 kB / 0.6548 GB, free: 6.625 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.5628, allocations: 7.844 kB / 0.6548 GB, free: 6.617 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.5628, allocations: 0 / 0.6548 GB, free: 6.617 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.5629, allocations: 310.8 kB / 0.6551 GB, free: 6.305 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.5629, allocations: 7.062 kB / 0.6551 GB, free: 6.301 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.563, allocations: 6.938 kB / 0.6551 GB, free: 6.297 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.563, allocations: 12.05 kB / 0.6551 GB, free: 6.285 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5631, allocations: 4 kB / 0.6551 GB, free: 6.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.5632, allocations: 59.67 kB / 0.6552 GB, free: 6.227 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5632, allocations: 5.406 kB / 0.6552 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5632, allocations: 4 kB / 0.6552 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.5632, allocations: 0 / 0.6552 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.5633, allocations: 8 kB / 0.6552 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5633, allocations: 7.922 kB / 0.6552 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.5634, allocations: 11.98 kB / 0.6552 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.5634, allocations: 4 kB / 0.6552 GB, free: 6.188 MB / 458.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 () * 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 5.41e-05/0.5635, allocations: 101 kB / 0.6553 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.5635, allocations: 3.984 kB / 0.6553 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.5637, allocations: 59.36 kB / 0.6554 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5637, allocations: 0 / 0.6554 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5637, allocations: 32 / 0.6554 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.5637, allocations: 4 kB / 0.6554 GB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.5638, allocations: 141.3 kB / 0.6555 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5638, allocations: 0 / 0.6555 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.5639, allocations: 15.92 kB / 0.6555 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5639, allocations: 0 / 0.6555 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.5639, allocations: 4 kB / 0.6555 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5639, allocations: 0 / 0.6555 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5639, allocations: 0 / 0.6555 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.5641, allocations: 153.9 kB / 0.6557 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.5641, allocations: 77.11 kB / 0.6557 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.5641, allocations: 3.984 kB / 0.6557 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.5642, allocations: 8 kB / 0.6557 GB, free: 5.559 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.5643, allocations: 3.984 kB / 0.6557 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.5643, allocations: 1.5 kB / 0.6558 GB, free: 5.555 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.5643, allocations: 82.5 kB / 0.6558 GB, free: 5.477 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5643, allocations: 4 kB / 0.6558 GB, free: 5.473 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.5645, allocations: 15.94 kB / 0.6558 GB, free: 5.457 MB / 458.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 () * 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.0001218/0.5647, allocations: 95.25 kB / 0.6559 GB, free: 5.355 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.5647, allocations: 15.19 kB / 0.656 GB, free: 5.344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.5647, allocations: 0 / 0.656 GB, free: 5.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-05/0.5648, allocations: 6.938 kB / 0.656 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.5649, allocations: 15.92 kB / 0.656 GB, free: 5.324 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.5651, allocations: 67.27 kB / 0.656 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.5653, allocations: 0.6846 MB / 0.6567 GB, free: 4.527 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.239e-05/0.5654, allocations: 0 / 0.6567 GB, free: 4.527 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.5654, allocations: 7.438 kB / 0.6567 GB, free: 4.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5654, allocations: 4 kB / 0.6567 GB, free: 4.516 MB / 458.7 MB Notification: Performance of Templates: time 0.002003/0.5674, allocations: 449.5 kB / 0.6571 GB, free: 4.094 MB / 458.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)