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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 105.8 kB / 16.64 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 194 kB / 17.57 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7284/0.7284, allocations: 122.9 MB / 414.2 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 0.4912 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3378, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003823/0.3416, allocations: 1.492 MB / 0.5688 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3427, allocations: 458.2 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.3427, allocations: 1.375 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.3428, allocations: 4.547 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.3429, allocations: 1.688 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3432, allocations: 22.3 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.3433, allocations: 30.25 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3434, allocations: 6.812 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.3435, allocations: 11.78 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.3435, allocations: 14.64 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3435, allocations: 2.688 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3437, allocations: 18.69 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.3437, allocations: 1.734 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.3438, allocations: 16.14 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3439, allocations: 17.91 kB / 0.5694 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3439, allocations: 0.9375 kB / 0.5694 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3439, allocations: 0 / 0.5694 GB, free: 31.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3439, allocations: 2.719 kB / 0.5694 GB, free: 31.39 MB / 446.1 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.0004548/0.3444, allocations: 339.9 kB / 0.5697 GB, free: 31.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3444, allocations: 11.16 kB / 0.5697 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.3445, allocations: 6.875 kB / 0.5697 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.3446, allocations: 175.5 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3446, allocations: 2.406 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3446, allocations: 6.781 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3449, allocations: 53.66 kB / 0.5699 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3449, allocations: 0 / 0.5699 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3449, allocations: 0.5 kB / 0.5699 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3449, allocations: 1.062 kB / 0.5699 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.3452, allocations: 38.33 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3455, allocations: 253.7 kB / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3457, allocations: 41.59 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3459, allocations: 24.58 kB / 0.5703 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.346, allocations: 86.08 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.346, allocations: 33.72 kB / 0.5704 GB, free: 30.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.3461, allocations: 0 / 0.5704 GB, free: 30.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004821/0.3465, allocations: 82.77 kB / 0.5705 GB, free: 30.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.3466, allocations: 51.94 kB / 0.5705 GB, free: 30.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.3467, allocations: 108 kB / 0.5706 GB, free: 30.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3467, allocations: 29.7 kB / 0.5707 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.3467, allocations: 82.97 kB / 0.5707 GB, free: 29.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3468, allocations: 6.297 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3468, allocations: 17.22 kB / 0.5708 GB, free: 29.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3469, allocations: 313.1 kB / 0.5711 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.347, allocations: 16.61 kB / 0.5711 GB, free: 29.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3471, allocations: 18.34 kB / 0.5711 GB, free: 29.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.3474, allocations: 42.86 kB / 0.5711 GB, free: 29.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3474, allocations: 0.6562 kB / 0.5711 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002873/0.3477, allocations: 64.91 kB / 0.5712 GB, free: 29.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3477, allocations: 5.75 kB / 0.5712 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3477, allocations: 1.328 kB / 0.5712 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3478, allocations: 5.062 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3479, allocations: 13.98 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3479, allocations: 0.7969 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.348, allocations: 7.516 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.348, allocations: 1.812 kB / 0.5712 GB, free: 29.59 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.3481, allocations: 112.6 kB / 0.5713 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.3482, allocations: 4.969 kB / 0.5713 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.3485, allocations: 72.66 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3485, allocations: 2.406 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3485, allocations: 0.75 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3485, allocations: 1.312 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3488, allocations: 165.6 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3488, allocations: 3.938 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.3489, allocations: 12.84 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3489, allocations: 2.375 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3489, allocations: 0.7812 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3489, allocations: 1.406 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3489, allocations: 5.656 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.3492, allocations: 164.7 kB / 0.5718 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.3493, allocations: 78.58 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3493, allocations: 3.156 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3494, allocations: 5.953 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3495, allocations: 6.016 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3495, allocations: 1.797 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.193e-05/0.3495, allocations: 85.62 kB / 0.5719 GB, free: 28.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3495, allocations: 0 / 0.5719 GB, free: 28.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.3499, allocations: 11.31 kB / 0.5719 GB, free: 28.9 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/0.3501, allocations: 104.7 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.3504, allocations: 40.02 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3505, allocations: 0.9062 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3506, allocations: 20.09 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3511, allocations: 14.66 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.3514, allocations: 136.3 kB / 0.5722 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3516, allocations: 0.6782 MB / 0.5729 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.3516, allocations: 12.5 kB / 0.5729 GB, free: 27.94 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3516, allocations: 0 / 0.5729 GB, free: 27.94 MB / 446.1 MB Notification: Performance of Templates: time 0.003118/0.3548, allocations: 0.6502 MB / 0.5735 GB, free: 27.92 MB / 446.1 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)