Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001851/0.001851, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.002335/0.002335, allocations: 204 kB / 20.09 MB, free: 2.977 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.018/1.018, allocations: 150 MB / 459.5 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00209/0.00209, allocations: 72.95 kB / 0.6362 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1759, allocations: 89.14 MB / 0.7232 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002388/0.1783, allocations: 0.6205 MB / 0.7238 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1813, allocations: 1.496 MB / 0.7253 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.1813, allocations: 0 / 0.7253 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.555e-05/0.1814, allocations: 0 / 0.7253 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.1814, allocations: 3.938 kB / 0.7253 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.1822, allocations: 213.8 kB / 0.7255 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1824, allocations: 31.97 kB / 0.7255 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.1824, allocations: 4.281 kB / 0.7255 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.1824, allocations: 19.92 kB / 0.7255 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.1825, allocations: 27.89 kB / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1825, allocations: 0 / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.1829, allocations: 255.6 kB / 0.7258 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.183, allocations: 11.98 kB / 0.7258 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.183, allocations: 19.86 kB / 0.7258 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.1833, allocations: 211.4 kB / 0.726 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.1833, allocations: 3.984 kB / 0.726 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1833, allocations: 3.938 kB / 0.726 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1833, allocations: 0 / 0.726 GB, free: 1.031 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004957/0.1838, allocations: 400.7 kB / 0.7264 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1839, allocations: 12.03 kB / 0.7264 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1839, allocations: 34.75 kB / 0.7265 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.184, allocations: 8.938 kB / 0.7265 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1841, allocations: 176.3 kB / 0.7267 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1841, allocations: 4.312 kB / 0.7267 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1841, allocations: 8.375 kB / 0.7267 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1843, allocations: 73.78 kB / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1843, allocations: 0 / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1843, allocations: 0 / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1843, allocations: 0 / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.1844, allocations: 39.95 kB / 0.7268 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.1846, allocations: 169.6 kB / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.1847, allocations: 58.48 kB / 0.727 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.1847, allocations: 40.86 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.1847, allocations: 0 / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1848, allocations: 34.5 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.1848, allocations: 4 kB / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003589/0.1851, allocations: 183.3 kB / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.1852, allocations: 85.14 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.1853, allocations: 113.8 kB / 0.7274 GB, free: 15.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1853, allocations: 29.64 kB / 0.7275 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.1854, allocations: 88.12 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1854, allocations: 19.86 kB / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1855, allocations: 17.7 kB / 0.7276 GB, free: 15.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1856, allocations: 318.8 kB / 0.7279 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.1857, allocations: 35.97 kB / 0.7279 GB, free: 14.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.1857, allocations: 39.97 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1859, allocations: 140.8 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1859, allocations: 3.938 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002099/0.1861, allocations: 159.4 kB / 0.7282 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.1861, allocations: 43.72 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1861, allocations: 0 / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1862, allocations: 0 / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-06/0.1862, allocations: 3.938 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1862, allocations: 0 / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1863, allocations: 15.92 kB / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1863, allocations: 8.062 kB / 0.7283 GB, free: 14.44 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001251/0.1864, allocations: 143.5 kB / 0.7284 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1865, allocations: 11.89 kB / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.1865, allocations: 16.36 kB / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1865, allocations: 0 / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1865, allocations: 0 / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1865, allocations: 0 / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1866, allocations: 161.7 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1866, allocations: 0 / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.1866, allocations: 3.938 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1866, allocations: 7.938 kB / 0.7286 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1866, allocations: 7.984 kB / 0.7286 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1866, allocations: 4 kB / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1866, allocations: 0 / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.1869, allocations: 198.7 kB / 0.7288 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.187, allocations: 85 kB / 0.7289 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.187, allocations: 7.938 kB / 0.7289 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.187, allocations: 4 kB / 0.7289 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.187, allocations: 8.016 kB / 0.7289 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1871, allocations: 8 kB / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.1871, allocations: 91.27 kB / 0.729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1871, allocations: 0 / 0.729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000309/0.1874, allocations: 71.88 kB / 0.7291 GB, free: 13.51 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008246/0.1883, allocations: 0.7974 MB / 0.7299 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1885, allocations: 167.2 kB / 0.73 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1885, allocations: 0 / 0.73 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1886, allocations: 119.3 kB / 0.7302 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.1888, allocations: 4 kB / 0.7302 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.1893, allocations: 230.2 kB / 0.7304 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1896, allocations: 0.6846 MB / 0.7311 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.949e-06/0.1896, allocations: 4.125 kB / 0.7311 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.1896, allocations: 15.42 kB / 0.7311 GB, free: 11.38 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1896, allocations: 0 / 0.7311 GB, free: 11.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.2152, allocations: 3.09 MB / 0.7341 GB, free: 8.414 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.459, allocations: 10.36 kB / 0.7341 GB, free: 8.406 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.65187942283228] Failed to read output from testmodel.py, exit status != 0: 8.530545250046998 8.554209262 8.366548287 Calling exit ...