Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 112.5 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00258/0.00258, allocations: 282.8 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.216/1.216, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 115.8 kB / 0.7343 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1682, allocations: 95.34 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00266/0.1709, allocations: 1.45 MB / 0.8288 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.1713, allocations: 200.7 kB / 0.829 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.1714, allocations: 4 kB / 0.829 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.1714, allocations: 0 / 0.829 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.1714, allocations: 11.88 kB / 0.829 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1717, allocations: 31.91 kB / 0.829 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.1717, allocations: 27.91 kB / 0.829 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.1718, allocations: 8 kB / 0.8291 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.1719, allocations: 11.92 kB / 0.8291 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.1719, allocations: 11.98 kB / 0.8291 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1719, allocations: 3.938 kB / 0.8291 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.172, allocations: 39.97 kB / 0.8291 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.172, allocations: 4 kB / 0.8291 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.172, allocations: 7.938 kB / 0.8291 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1721, allocations: 48.08 kB / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1721, allocations: 0 / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1721, allocations: 0 / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1721, allocations: 0 / 0.8292 GB, free: 7.992 MB / 0.5762 GB 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.0004573/0.1726, allocations: 343.4 kB / 0.8295 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1726, allocations: 8.031 kB / 0.8295 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1727, allocations: 42.69 kB / 0.8295 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.1727, allocations: 4.938 kB / 0.8296 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1728, allocations: 164.3 kB / 0.8297 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1728, allocations: 384 / 0.8297 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1729, allocations: 8.359 kB / 0.8297 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.173, allocations: 50.23 kB / 0.8298 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.173, allocations: 3.938 kB / 0.8298 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.173, allocations: 0 / 0.8298 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.173, allocations: 0 / 0.8298 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1732, allocations: 39.95 kB / 0.8298 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.1735, allocations: 256.9 kB / 0.8301 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1737, allocations: 34.5 kB / 0.8301 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.1738, allocations: 20.91 kB / 0.8301 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/0.1738, allocations: 89.09 kB / 0.8302 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1739, allocations: 30.56 kB / 0.8302 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1739, allocations: 0 / 0.8302 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003778/0.1742, allocations: 81.59 kB / 0.8303 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1743, allocations: 55.39 kB / 0.8304 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.1744, allocations: 106 kB / 0.8305 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1744, allocations: 25.7 kB / 0.8305 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.1744, allocations: 85.81 kB / 0.8306 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1745, allocations: 7.938 kB / 0.8306 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.1745, allocations: 13.72 kB / 0.8306 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1746, allocations: 314.8 kB / 0.8309 GB, free: 6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.1747, allocations: 15.98 kB / 0.8309 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.1748, allocations: 24.22 kB / 0.8309 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1749, allocations: 40.77 kB / 0.831 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1749, allocations: 7.938 kB / 0.831 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.1751, allocations: 73.53 kB / 0.831 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1752, allocations: 4 kB / 0.831 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1752, allocations: 96 / 0.831 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1752, allocations: 4 kB / 0.831 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.1753, allocations: 8 kB / 0.831 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1753, allocations: 3.984 kB / 0.8311 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.1753, allocations: 4 kB / 0.8311 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.1753, allocations: 0 / 0.8311 GB, free: 5.809 MB / 0.5762 GB 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 7.746e-05/0.1754, allocations: 114.4 kB / 0.8312 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1754, allocations: 7.953 kB / 0.8312 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.1756, allocations: 76.7 kB / 0.8312 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1757, allocations: 0 / 0.8312 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1757, allocations: 4 kB / 0.8313 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1757, allocations: 0 / 0.8313 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1758, allocations: 165.6 kB / 0.8314 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1758, allocations: 0 / 0.8314 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.1759, allocations: 11.98 kB / 0.8314 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1759, allocations: 0 / 0.8314 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1759, allocations: 0 / 0.8314 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1759, allocations: 4.031 kB / 0.8314 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1759, allocations: 3.984 kB / 0.8314 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1761, allocations: 159.5 kB / 0.8316 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.1762, allocations: 77.11 kB / 0.8317 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1762, allocations: 7.984 kB / 0.8317 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.1763, allocations: 8.031 kB / 0.8317 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1763, allocations: 7.938 kB / 0.8317 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1763, allocations: 0 / 0.8317 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.1764, allocations: 83.27 kB / 0.8318 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1764, allocations: 0 / 0.8318 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00023/0.1766, allocations: 15.94 kB / 0.8318 GB, free: 4.98 MB / 0.5762 GB 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.000604/0.1772, allocations: 0.7046 MB / 0.8325 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1774, allocations: 43.89 kB / 0.8325 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1774, allocations: 0 / 0.8325 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.1775, allocations: 12.08 kB / 0.8325 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1778, allocations: 13.09 kB / 0.8325 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.1782, allocations: 143.1 kB / 0.8327 GB, free: 4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1785, allocations: 0.6767 MB / 0.8333 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.265e-05/0.1785, allocations: 3.984 kB / 0.8333 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1785, allocations: 11.44 kB / 0.8333 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1785, allocations: 0 / 0.8333 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.2029, allocations: 1.475 MB / 0.8348 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.194, allocations: 6.875 kB / 0.8348 GB, free: 1.918 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.42180448397994] Failed to read output from testmodel.py, exit status != 0: 8.261899369303137 8.278013247 8.102887132 Calling exit ...