Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001287/0.001287, allocations: 109.1 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.001438/0.001438, allocations: 216.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.411/1.411, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.002402/0.002402, allocations: 284.5 kB / 309.1 MB, free: 3.98 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.19/1.19, allocations: 180.9 MB / 0.5333 GB, free: 13.77 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.002758/0.002758, allocations: 104.7 kB / 0.7343 GB, free: 28.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1772, allocations: 95.34 MB / 0.8274 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001793/0.179, allocations: 0.6043 MB / 0.828 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004333/0.1794, allocations: 167.8 kB / 0.8281 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.1794, allocations: 0 / 0.8281 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1794, allocations: 7.938 kB / 0.8282 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.039e-05/0.1795, allocations: 0 / 0.8282 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1798, allocations: 43.89 kB / 0.8282 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.1798, allocations: 12 kB / 0.8282 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1799, allocations: 4 kB / 0.8282 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.1799, allocations: 11.91 kB / 0.8282 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.1799, allocations: 8 kB / 0.8282 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1799, allocations: 4 kB / 0.8282 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.18, allocations: 31.97 kB / 0.8283 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.18, allocations: 7.984 kB / 0.8283 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1801, allocations: 11.92 kB / 0.8283 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.99e-05/0.1802, allocations: 28.12 kB / 0.8283 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.1802, allocations: 4 kB / 0.8283 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1802, allocations: 0 / 0.8283 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1802, allocations: 0 / 0.8283 GB, free: 9.039 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004285/0.1806, allocations: 332.6 kB / 0.8286 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1807, allocations: 15.97 kB / 0.8286 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1807, allocations: 34.75 kB / 0.8287 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1807, allocations: 0.9375 kB / 0.8287 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1809, allocations: 164.4 kB / 0.8288 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1809, allocations: 4.375 kB / 0.8288 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1809, allocations: 384 / 0.8288 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.181, allocations: 46.23 kB / 0.8289 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.181, allocations: 3.938 kB / 0.8289 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.181, allocations: 4 kB / 0.8289 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.181, allocations: 0 / 0.8289 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.625e-05/0.1811, allocations: 19.92 kB / 0.8289 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1813, allocations: 165.6 kB / 0.8291 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1814, allocations: 42.62 kB / 0.8291 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.1814, allocations: 24.91 kB / 0.8291 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.1815, allocations: 81.11 kB / 0.8292 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1815, allocations: 30.56 kB / 0.8292 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1815, allocations: 4 kB / 0.8292 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001315/0.1829, allocations: 496.2 kB / 0.8297 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1829, allocations: 51.41 kB / 0.8298 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.183, allocations: 93.86 kB / 0.8299 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.183, allocations: 29.7 kB / 0.8299 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.183, allocations: 80.14 kB / 0.83 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1831, allocations: 23.8 kB / 0.83 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1831, allocations: 25.83 kB / 0.83 GB, free: 7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1832, allocations: 314.8 kB / 0.8303 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.1833, allocations: 15.92 kB / 0.8303 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.1833, allocations: 15.98 kB / 0.8303 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.1834, allocations: 36.84 kB / 0.8304 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1834, allocations: 0 / 0.8304 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001186/0.1835, allocations: 77.52 kB / 0.8304 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1835, allocations: 5.719 kB / 0.8305 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1835, allocations: 0 / 0.8305 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1835, allocations: 8 kB / 0.8305 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.1836, allocations: 8 kB / 0.8305 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1836, allocations: 4 kB / 0.8305 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.1836, allocations: 4 kB / 0.8305 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1837, allocations: 3.984 kB / 0.8305 GB, free: 6.5 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 (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 8.669e-05/0.1837, allocations: 112.7 kB / 0.8306 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1838, allocations: 3.938 kB / 0.8306 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.1839, allocations: 89.88 kB / 0.8307 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1839, allocations: 4 kB / 0.8307 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1839, allocations: 0 / 0.8307 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1839, allocations: 0 / 0.8307 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1841, allocations: 165.7 kB / 0.8308 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1841, allocations: 3.984 kB / 0.8308 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.1842, allocations: 15.94 kB / 0.8309 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1842, allocations: 0 / 0.8309 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1842, allocations: 4.188 kB / 0.8309 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1842, allocations: 4 kB / 0.8309 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1842, allocations: 0 / 0.8309 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1844, allocations: 121 kB / 0.831 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.1844, allocations: 85.08 kB / 0.8311 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1844, allocations: 3.984 kB / 0.8311 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.1845, allocations: 0 / 0.8311 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.1845, allocations: 4 kB / 0.8311 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1845, allocations: 4 kB / 0.8311 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.1846, allocations: 83.22 kB / 0.8312 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1846, allocations: 4.156 kB / 0.8312 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002176/0.1848, allocations: 31.92 kB / 0.8312 GB, free: 5.676 MB / 0.5762 GB 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.0006168/0.1854, allocations: 0.6903 MB / 0.8319 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.1855, allocations: 35.97 kB / 0.8319 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1855, allocations: 0 / 0.8319 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.1856, allocations: 24 kB / 0.8319 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.1857, allocations: 18.41 kB / 0.8319 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1869, allocations: 1.184 MB / 0.8331 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1872, allocations: 0.6807 MB / 0.8338 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1872, allocations: 4.625 kB / 0.8338 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.1873, allocations: 15.44 kB / 0.8338 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.1873, allocations: 0 / 0.8338 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.213, allocations: 1.86 MB / 0.8356 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.341, allocations: 9.109 kB / 0.8356 GB, free: 1.211 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.415636596735567] Failed to read output from testmodel.py, exit status != 0: 8.408025067765266 8.425395744 8.241917184 Calling exit ...