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.001337/0.001337, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00152/0.00152, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.004022/0.004022, allocations: 278.2 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 12.86 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002843/0.002843, allocations: 103.2 kB / 0.7396 GB, free: 28.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1713, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.003042/0.1743, allocations: 1.471 MB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004419/0.1748, allocations: 196.3 kB / 0.8344 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.1748, allocations: 4 kB / 0.8344 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1748, allocations: 4 kB / 0.8344 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.1749, allocations: 7.922 kB / 0.8344 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1752, allocations: 31.91 kB / 0.8344 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.092e-05/0.1752, allocations: 19.92 kB / 0.8344 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.1753, allocations: 8 kB / 0.8344 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.1754, allocations: 7.938 kB / 0.8344 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.1754, allocations: 19.91 kB / 0.8345 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1754, allocations: 0 / 0.8345 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1755, allocations: 35.97 kB / 0.8345 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.1755, allocations: 12 kB / 0.8345 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.1756, allocations: 11.92 kB / 0.8345 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1757, allocations: 44.09 kB / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1757, allocations: 0 / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1757, allocations: 0 / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1757, allocations: 0 / 0.8346 GB, free: 6.758 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.0004993/0.1762, allocations: 266.3 kB / 0.8348 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1763, allocations: 13.34 kB / 0.8348 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.1763, allocations: 34.69 kB / 0.8349 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1763, allocations: 4.938 kB / 0.8349 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1765, allocations: 114.5 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1765, allocations: 4.375 kB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1765, allocations: 4.375 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.1767, allocations: 46.25 kB / 0.835 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1767, allocations: 7.922 kB / 0.835 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-06/0.1767, allocations: 0 / 0.835 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1767, allocations: 3.984 kB / 0.835 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1769, allocations: 35.97 kB / 0.8351 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1772, allocations: 223.9 kB / 0.8353 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1774, allocations: 38.5 kB / 0.8353 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.1775, allocations: 24.91 kB / 0.8353 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.1775, allocations: 11.98 kB / 0.8354 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1775, allocations: 30.56 kB / 0.8354 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1775, allocations: 0 / 0.8354 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003404/0.1779, allocations: 81.59 kB / 0.8355 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1779, allocations: 59.33 kB / 0.8355 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.178, allocations: 97.98 kB / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.178, allocations: 33.7 kB / 0.8356 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.1781, allocations: 81.81 kB / 0.8357 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1781, allocations: 7.938 kB / 0.8357 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.1781, allocations: 17.72 kB / 0.8357 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1783, allocations: 310.8 kB / 0.836 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.1784, allocations: 15.98 kB / 0.8361 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.1784, allocations: 23.97 kB / 0.8361 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1786, allocations: 32.83 kB / 0.8361 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1786, allocations: 11.88 kB / 0.8361 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002775/0.1788, allocations: 69.59 kB / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1789, allocations: 8 kB / 0.8362 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1789, allocations: 0 / 0.8362 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1789, allocations: 4.094 kB / 0.8362 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.179, allocations: 4 kB / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.179, allocations: 7.984 kB / 0.8362 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.179, allocations: 0 / 0.8362 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.179, allocations: 4 kB / 0.8362 GB, free: 4.863 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.584e-05/0.1791, allocations: 110.4 kB / 0.8363 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1791, allocations: 3.953 kB / 0.8363 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.1793, allocations: 84.89 kB / 0.8364 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1793, allocations: 0 / 0.8364 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1793, allocations: 0 / 0.8364 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1794, allocations: 0 / 0.8364 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1795, allocations: 132.7 kB / 0.8365 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1795, allocations: 0 / 0.8365 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.1796, allocations: 7.984 kB / 0.8365 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1796, allocations: 0 / 0.8365 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1796, allocations: 4.25 kB / 0.8365 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1796, allocations: 4.031 kB / 0.8365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1796, allocations: 4 kB / 0.8366 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.1798, allocations: 163.5 kB / 0.8367 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.1798, allocations: 4 kB / 0.8367 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1799, allocations: 0 / 0.8367 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.1799, allocations: 12.02 kB / 0.8367 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.18, allocations: 8 kB / 0.8367 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.18, allocations: 3.938 kB / 0.8367 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.18, allocations: 83.27 kB / 0.8368 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.18, allocations: 0 / 0.8368 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002242/0.1802, allocations: 11.94 kB / 0.8368 GB, free: 4.16 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.0006178/0.1809, allocations: 0.7052 MB / 0.8375 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1811, allocations: 43.95 kB / 0.8376 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1811, allocations: 0 / 0.8376 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.1811, allocations: 19.92 kB / 0.8376 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1814, allocations: 14.67 kB / 0.8376 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.1819, allocations: 143.2 kB / 0.8377 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1822, allocations: 0.6729 MB / 0.8384 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1822, allocations: 11.97 kB / 0.8384 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.1822, allocations: 7.438 kB / 0.8384 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.1822, allocations: 0 / 0.8384 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.2112, allocations: 1.569 MB / 0.8399 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.77, allocations: 3.344 kB / 0.8399 GB, free: 1.023 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.991625126000145] Failed to read output from testmodel.py, exit status != 0: 10.867036997999094 10.883741678 10.704934222 Calling exit ...