Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.001285/0.001285, allocations: 101.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.001421/0.001421, allocations: 191.2 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.3/1.3, 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.7555/0.7555, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.362, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002031/0.3641, allocations: 0.585 MB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000396/0.3646, allocations: 156.4 kB / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.3646, allocations: 0 / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.3646, allocations: 0 / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.759e-05/0.3646, allocations: 0.5 kB / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.365, allocations: 53.39 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.252e-05/0.3651, allocations: 17.66 kB / 0.5681 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.3651, allocations: 4.688 kB / 0.5681 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.3652, allocations: 9.547 kB / 0.5681 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.3652, allocations: 12 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3653, allocations: 0.9375 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.3653, allocations: 32.2 kB / 0.5681 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.3654, allocations: 7.141 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.3654, allocations: 3.484 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3655, allocations: 35.48 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3655, allocations: 0 / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3655, allocations: 0 / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3655, allocations: 2.031 kB / 0.5682 GB, free: 32.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003423/0.3659, allocations: 328 kB / 0.5685 GB, free: 31.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3659, allocations: 10.28 kB / 0.5685 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.366, allocations: 36.7 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.366, allocations: 5.938 kB / 0.5686 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.575e-05/0.3661, allocations: 169.4 kB / 0.5687 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3661, allocations: 3.281 kB / 0.5687 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3661, allocations: 3.234 kB / 0.5687 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.3663, allocations: 41.62 kB / 0.5688 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3663, allocations: 8.484 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3663, allocations: 5.75 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3663, allocations: 0.5 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.3664, allocations: 13.73 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.3665, allocations: 157.7 kB / 0.5689 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.3666, allocations: 53.98 kB / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.3667, allocations: 19.62 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.3668, allocations: 81.27 kB / 0.5691 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3668, allocations: 33.19 kB / 0.5691 GB, free: 31.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3668, allocations: 1.094 kB / 0.5691 GB, free: 31.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001234/0.368, allocations: 492.9 kB / 0.5696 GB, free: 30.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.3681, allocations: 54.16 kB / 0.5696 GB, free: 30.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.3681, allocations: 93.62 kB / 0.5697 GB, free: 30.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3681, allocations: 31.05 kB / 0.5698 GB, free: 30.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.971e-05/0.3682, allocations: 89.11 kB / 0.5698 GB, free: 30.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3682, allocations: 21.47 kB / 0.5699 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.3683, allocations: 21.2 kB / 0.5699 GB, free: 30.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.3683, allocations: 318.4 kB / 0.5702 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.3684, allocations: 13.41 kB / 0.5702 GB, free: 30.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.3684, allocations: 9.219 kB / 0.5702 GB, free: 30.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.3685, allocations: 37.58 kB / 0.5702 GB, free: 30.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3685, allocations: 0 / 0.5702 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.3686, allocations: 75.11 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3686, allocations: 7.031 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3686, allocations: 0 / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3686, allocations: 1.031 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.3687, allocations: 17.56 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3687, allocations: 2.438 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.3688, allocations: 1.062 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3688, allocations: 1.703 kB / 0.5703 GB, free: 30.04 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 (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 6.351e-05/0.3688, allocations: 115.1 kB / 0.5705 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.3689, allocations: 5.703 kB / 0.5705 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.3691, allocations: 90.08 kB / 0.5705 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3691, allocations: 1.156 kB / 0.5705 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3691, allocations: 1.391 kB / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3691, allocations: 0 / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.3692, allocations: 164.5 kB / 0.5707 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3692, allocations: 0.9844 kB / 0.5707 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.3693, allocations: 21.03 kB / 0.5707 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3693, allocations: 7.016 kB / 0.5707 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3693, allocations: 1.594 kB / 0.5707 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3693, allocations: 5.422 kB / 0.5707 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3693, allocations: 4.547 kB / 0.5707 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.3695, allocations: 119.2 kB / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.3696, allocations: 83.41 kB / 0.5709 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3696, allocations: 4.5 kB / 0.5709 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.3696, allocations: 4.031 kB / 0.5709 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.3697, allocations: 4.672 kB / 0.571 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3697, allocations: 2.641 kB / 0.571 GB, free: 29.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.114e-05/0.3697, allocations: 78.19 kB / 0.571 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3697, allocations: 1.062 kB / 0.571 GB, free: 29.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.3699, allocations: 32.47 kB / 0.5711 GB, free: 29.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0004433/0.3704, allocations: 0.6882 MB / 0.5717 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.3705, allocations: 39.27 kB / 0.5718 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3705, allocations: 0 / 0.5718 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.3706, allocations: 26.47 kB / 0.5718 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.3707, allocations: 7.766 kB / 0.5718 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/0.3715, allocations: 1.186 MB / 0.573 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3716, allocations: 0.6871 MB / 0.5736 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.497e-05/0.3717, allocations: 5.766 kB / 0.5736 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.3717, allocations: 12 kB / 0.5736 GB, free: 26.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3717, allocations: 0.625 kB / 0.5737 GB, free: 26.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.3899, allocations: 1.789 MB / 0.5754 GB, free: 26.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.39, allocations: 12.03 kB / 0.5754 GB, free: 26.55 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)