Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001071/0.001071, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.001069/0.001069, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7458/0.7458, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3548, allocations: 77.92 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001566/0.3564, allocations: 0.5876 MB / 0.5679 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3575, allocations: 1.096 MB / 0.5689 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.3575, allocations: 1.344 kB / 0.5689 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.3576, allocations: 3.938 kB / 0.569 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3578, allocations: 23.69 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.266e-06/0.3578, allocations: 0 / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.521e-05/0.3578, allocations: 2.375 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.3579, allocations: 2.594 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.3579, allocations: 5.156 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.814e-05/0.3579, allocations: 3.281 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-06/0.3579, allocations: 0 / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.358, allocations: 24.92 kB / 0.569 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-06/0.358, allocations: 1.156 kB / 0.569 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.248e-05/0.358, allocations: 1.156 kB / 0.569 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.173e-05/0.3581, allocations: 20.38 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3581, allocations: 0.9688 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3581, allocations: 1.188 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.3581, allocations: 0 / 0.569 GB, free: 31.62 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.0001895/0.3583, allocations: 312.6 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3584, allocations: 11.72 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.137e-05/0.3584, allocations: 35.41 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.3584, allocations: 2 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.564e-05/0.3585, allocations: 166.4 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3585, allocations: 1.375 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.3585, allocations: 7.656 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.3586, allocations: 40.91 kB / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.3586, allocations: 0 / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3586, allocations: 0.6562 kB / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3587, allocations: 1.094 kB / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.3587, allocations: 12.02 kB / 0.5696 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.3588, allocations: 150.6 kB / 0.5697 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.359, allocations: 38.89 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.359, allocations: 8.656 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.3591, allocations: 86.52 kB / 0.5699 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.3592, allocations: 36.7 kB / 0.5699 GB, free: 30.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3592, allocations: 1 kB / 0.5699 GB, free: 30.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004296/0.3635, allocations: 0.5675 MB / 0.5705 GB, free: 30.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.3635, allocations: 53.47 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.993e-05/0.3635, allocations: 96.89 kB / 0.5706 GB, free: 30.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3636, allocations: 25.7 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.069e-05/0.3636, allocations: 80.14 kB / 0.5707 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.3636, allocations: 19.52 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.3637, allocations: 20.25 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.3637, allocations: 313.3 kB / 0.571 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.3645, allocations: 81.55 kB / 0.5711 GB, free: 29.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/0.3652, allocations: 107.9 kB / 0.5712 GB, free: 29.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.3664, allocations: 192.8 kB / 0.5714 GB, free: 29.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3664, allocations: 1.938 kB / 0.5714 GB, free: 29.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001279/0.3677, allocations: 218.9 kB / 0.5716 GB, free: 29.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3677, allocations: 6.422 kB / 0.5716 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3677, allocations: 1.375 kB / 0.5716 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3678, allocations: 1.188 kB / 0.5716 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.3682, allocations: 50 kB / 0.5717 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3682, allocations: 6.641 kB / 0.5717 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.3685, allocations: 39.69 kB / 0.5717 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.3686, allocations: 7.938 kB / 0.5717 GB, free: 29.82 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 (5): * Single equations (assignments): 5 * 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 6.767e-05/0.3686, allocations: 108.7 kB / 0.5718 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.3687, allocations: 4.453 kB / 0.5718 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.3701, allocations: 239.5 kB / 0.5721 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3701, allocations: 1.031 kB / 0.5721 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3701, allocations: 1.25 kB / 0.5721 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3701, allocations: 0.6562 kB / 0.5721 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3716, allocations: 458.4 kB / 0.5725 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3716, allocations: 0 / 0.5725 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.372, allocations: 49.77 kB / 0.5725 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.372, allocations: 0 / 0.5725 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.372, allocations: 1.781 kB / 0.5725 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3721, allocations: 2.094 kB / 0.5726 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3721, allocations: 4 kB / 0.5726 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3734, allocations: 304.7 kB / 0.5728 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.3734, allocations: 82.67 kB / 0.5729 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3734, allocations: 1.25 kB / 0.5729 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.3738, allocations: 40.69 kB / 0.573 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.3738, allocations: 6.875 kB / 0.573 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3738, allocations: 1.797 kB / 0.573 GB, free: 29.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.666e-05/0.3739, allocations: 75.28 kB / 0.573 GB, free: 28.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3739, allocations: 1.188 kB / 0.573 GB, free: 28.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000269/0.3741, allocations: 17.83 kB / 0.5731 GB, free: 28.95 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 (5): * Single equations (assignments): 5 * 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.001681/0.3758, allocations: 0.8418 MB / 0.5739 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.3772, allocations: 180 kB / 0.5741 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3773, allocations: 3.938 kB / 0.5741 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.3779, allocations: 93.33 kB / 0.5741 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3781, allocations: 2.969 kB / 0.5742 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3794, allocations: 248.1 kB / 0.5744 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3796, allocations: 0.6779 MB / 0.5751 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.3798, allocations: 32.53 kB / 0.5751 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.3799, allocations: 9.656 kB / 0.5751 GB, free: 27.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3799, allocations: 0 / 0.5751 GB, free: 27.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.3972, allocations: 1.61 MB / 0.5767 GB, free: 26.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.384, allocations: 1.5 kB / 0.5767 GB, free: 26.99 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)