Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 104.2 kB / 16.27 MB, free: 5.93 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.001321/0.001321, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.284/1.284, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 63.89 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3524, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002688/0.3551, allocations: 1.753 MB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.3561, allocations: 0.6618 MB / 0.5696 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.3561, allocations: 1.312 kB / 0.5696 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3562, allocations: 10.92 kB / 0.5697 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.3562, allocations: 16.17 kB / 0.5697 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.3567, allocations: 169.7 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.3569, allocations: 131.4 kB / 0.57 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.357, allocations: 46.44 kB / 0.57 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3571, allocations: 57.44 kB / 0.5701 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.701e-05/0.3572, allocations: 51.98 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.3572, allocations: 12.25 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3573, allocations: 54.39 kB / 0.5702 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.3574, allocations: 27.39 kB / 0.5702 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.3574, allocations: 57.02 kB / 0.5702 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.3576, allocations: 139.3 kB / 0.5704 GB, free: 30.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3576, allocations: 0 / 0.5704 GB, free: 30.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3576, allocations: 1.438 kB / 0.5704 GB, free: 30.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3577, allocations: 0.5625 kB / 0.5704 GB, free: 30.72 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004738/0.3581, allocations: 443.2 kB / 0.5708 GB, free: 30.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3582, allocations: 9.75 kB / 0.5708 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.3582, allocations: 42.06 kB / 0.5709 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008172/0.359, allocations: 115.6 kB / 0.571 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.071e-05/0.3591, allocations: 184 kB / 0.5711 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/0.3592, allocations: 60.75 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3592, allocations: 10.81 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.3597, allocations: 167.2 kB / 0.5714 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3598, allocations: 0.6562 kB / 0.5714 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.3598, allocations: 5.844 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3598, allocations: 2.625 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.3604, allocations: 163 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.3615, allocations: 492.6 kB / 0.572 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3625, allocations: 215.8 kB / 0.5722 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.3628, allocations: 82.03 kB / 0.5723 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3629, allocations: 2.406 kB / 0.5723 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.3629, allocations: 37.02 kB / 0.5723 GB, free: 29.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3629, allocations: 1.094 kB / 0.5723 GB, free: 29.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009989/0.3639, allocations: 266.4 kB / 0.5726 GB, free: 29.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.3639, allocations: 53.22 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.364, allocations: 136.8 kB / 0.5728 GB, free: 29.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.364, allocations: 25.7 kB / 0.5728 GB, free: 29.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.3641, allocations: 111.9 kB / 0.5729 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.3641, allocations: 19.75 kB / 0.5729 GB, free: 29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.3642, allocations: 24.56 kB / 0.5729 GB, free: 28.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.3642, allocations: 321.2 kB / 0.5732 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.3645, allocations: 75.48 kB / 0.5733 GB, free: 28.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.3648, allocations: 95.2 kB / 0.5734 GB, free: 28.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.3654, allocations: 168.1 kB / 0.5736 GB, free: 28.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3654, allocations: 1.25 kB / 0.5736 GB, free: 28.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000653/0.3661, allocations: 204.4 kB / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3661, allocations: 6.266 kB / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3661, allocations: 3.938 kB / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3661, allocations: 2.062 kB / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.3664, allocations: 45.7 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3664, allocations: 4.875 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3666, allocations: 27.11 kB / 0.5738 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3666, allocations: 4.328 kB / 0.5738 GB, free: 28.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 7.515e-05/0.3667, allocations: 124.5 kB / 0.574 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.3668, allocations: 8.719 kB / 0.574 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.3675, allocations: 209.2 kB / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3675, allocations: 1.188 kB / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3675, allocations: 0 / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3675, allocations: 1.828 kB / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.3677, allocations: 236.5 kB / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3677, allocations: 0 / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.368, allocations: 31.34 kB / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.368, allocations: 1.781 kB / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.368, allocations: 11.03 kB / 0.5744 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.368, allocations: 5.469 kB / 0.5744 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.368, allocations: 1.156 kB / 0.5745 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.3686, allocations: 284.8 kB / 0.5747 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3687, allocations: 85.19 kB / 0.5748 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3687, allocations: 5.656 kB / 0.5748 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.369, allocations: 29.94 kB / 0.5748 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3691, allocations: 8.734 kB / 0.5748 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3691, allocations: 8.25 kB / 0.5749 GB, free: 27.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.866e-05/0.3691, allocations: 107.5 kB / 0.575 GB, free: 27.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3691, allocations: 1 kB / 0.575 GB, free: 27.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3694, allocations: 23.12 kB / 0.575 GB, free: 27.66 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 (6): * Single equations (assignments): 6 * 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.0008132/0.3702, allocations: 0.8205 MB / 0.5758 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006664/0.3709, allocations: 164.8 kB / 0.5759 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3709, allocations: 1.75 kB / 0.5759 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.3712, allocations: 82.45 kB / 0.576 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3715, allocations: 11.38 kB / 0.576 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.3742, allocations: 1.828 MB / 0.5778 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3744, allocations: 0.701 MB / 0.5785 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.864e-05/0.3745, allocations: 15.39 kB / 0.5785 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.3745, allocations: 32 kB / 0.5785 GB, free: 24.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3745, allocations: 3.938 kB / 0.5785 GB, free: 24.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.3935, allocations: 2.723 MB / 0.5812 GB, free: 23.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.486, allocations: 9.297 kB / 0.5812 GB, free: 23.7 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)