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.001359/0.001359, allocations: 108.4 kB / 17.03 MB, free: 5.699 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.001408/0.001408, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.76/0.76, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3261, allocations: 76.14 MB / 0.5576 GB, free: 36.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002284/0.3284, allocations: 1.416 MB / 0.5589 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000646/0.3291, allocations: 467.6 kB / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.3291, allocations: 0 / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.3292, allocations: 3.938 kB / 0.5594 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.3292, allocations: 5.234 kB / 0.5594 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.3294, allocations: 23.81 kB / 0.5594 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.3295, allocations: 25.69 kB / 0.5594 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.3296, allocations: 7.094 kB / 0.5595 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.3297, allocations: 11.81 kB / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.3297, allocations: 15.44 kB / 0.5595 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3298, allocations: 6.156 kB / 0.5595 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.3298, allocations: 26.59 kB / 0.5595 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.3299, allocations: 2.641 kB / 0.5595 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.3299, allocations: 10.61 kB / 0.5595 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.33, allocations: 37.67 kB / 0.5596 GB, free: 35.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.33, allocations: 0 / 0.5596 GB, free: 35.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.33, allocations: 0 / 0.5596 GB, free: 35.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.33, allocations: 0 / 0.5596 GB, free: 35.53 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.0004344/0.3305, allocations: 348.1 kB / 0.5599 GB, free: 35.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3305, allocations: 9.719 kB / 0.5599 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3306, allocations: 2.219 kB / 0.5599 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3307, allocations: 168.8 kB / 0.5601 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3307, allocations: 7.125 kB / 0.5601 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3307, allocations: 1.688 kB / 0.5601 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3309, allocations: 59.58 kB / 0.5601 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3309, allocations: 0 / 0.5601 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.3309, allocations: 0.8125 kB / 0.5601 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3309, allocations: 1.469 kB / 0.5601 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3311, allocations: 36.28 kB / 0.5602 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.3314, allocations: 256.3 kB / 0.5604 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3315, allocations: 41.31 kB / 0.5604 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.3316, allocations: 20.22 kB / 0.5605 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.3317, allocations: 82.59 kB / 0.5605 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3318, allocations: 41.47 kB / 0.5606 GB, free: 34.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3318, allocations: 0 / 0.5606 GB, free: 34.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.3321, allocations: 79.86 kB / 0.5607 GB, free: 34.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3322, allocations: 52.91 kB / 0.5607 GB, free: 34.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.3322, allocations: 102.6 kB / 0.5608 GB, free: 34.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.3323, allocations: 29.64 kB / 0.5608 GB, free: 34.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.3323, allocations: 86.33 kB / 0.5609 GB, free: 34.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3323, allocations: 6.656 kB / 0.5609 GB, free: 34.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.3324, allocations: 12.81 kB / 0.5609 GB, free: 34.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.3325, allocations: 317.8 kB / 0.5612 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.3326, allocations: 18.53 kB / 0.5613 GB, free: 33.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.3326, allocations: 20.39 kB / 0.5613 GB, free: 33.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3328, allocations: 43.09 kB / 0.5613 GB, free: 33.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3328, allocations: 0.6562 kB / 0.5613 GB, free: 33.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.333, allocations: 64.22 kB / 0.5614 GB, free: 33.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.333, allocations: 9.656 kB / 0.5614 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.333, allocations: 1.094 kB / 0.5614 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3331, allocations: 1.125 kB / 0.5614 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.3331, allocations: 13.56 kB / 0.5614 GB, free: 33.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3332, allocations: 5.406 kB / 0.5614 GB, free: 33.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.3332, allocations: 4.469 kB / 0.5614 GB, free: 33.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3332, allocations: 4.547 kB / 0.5614 GB, free: 33.74 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 5.349e-05/0.3333, allocations: 115.1 kB / 0.5615 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.3333, allocations: 5.594 kB / 0.5615 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.3335, allocations: 72.19 kB / 0.5616 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3335, allocations: 1.406 kB / 0.5616 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3335, allocations: 0.6562 kB / 0.5616 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3336, allocations: 0.5938 kB / 0.5616 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3337, allocations: 161.9 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3337, allocations: 0.7656 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.3337, allocations: 9 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3337, allocations: 6.25 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3338, allocations: 4.594 kB / 0.5618 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3338, allocations: 0 / 0.5618 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3338, allocations: 2.781 kB / 0.5618 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.334, allocations: 165.5 kB / 0.5619 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.334, allocations: 79.25 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.334, allocations: 0.7031 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3341, allocations: 6.109 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.3341, allocations: 4.734 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3341, allocations: 1.375 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.22e-05/0.3341, allocations: 85.47 kB / 0.5621 GB, free: 33.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3341, allocations: 0 / 0.5621 GB, free: 33.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000214/0.3344, allocations: 8.953 kB / 0.5621 GB, free: 33.06 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.0001043/0.3345, allocations: 98.09 kB / 0.5622 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3347, allocations: 43.95 kB / 0.5623 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3347, allocations: 0.625 kB / 0.5623 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.3348, allocations: 22.36 kB / 0.5623 GB, free: 32.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.335, allocations: 9 kB / 0.5623 GB, free: 32.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.3353, allocations: 118.6 kB / 0.5624 GB, free: 32.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.09e-05/0.3354, allocations: 0.6774 MB / 0.5631 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.428e-05/0.3354, allocations: 3.516 kB / 0.5631 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.3354, allocations: 8.781 kB / 0.5631 GB, free: 32.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3354, allocations: 0 / 0.5631 GB, free: 32.13 MB / 446.1 MB Notification: Performance of Templates: time 0.002894/0.3383, allocations: 0.5665 MB / 0.5636 GB, free: 32.07 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)