Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001665/0.001665, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001481/0.001481, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.789 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.002597/0.002597, allocations: 291 kB / 312.7 MB, free: 2.586 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.273/1.273, allocations: 180.6 MB / 0.5369 GB, free: 14.6 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [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.0031/0.0031, allocations: 103.9 kB / 0.74 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1633, allocations: 95.39 MB / 0.8332 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002009/0.1653, allocations: 0.6231 MB / 0.8338 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1676, allocations: 1.43 MB / 0.8352 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.1676, allocations: 0 / 0.8352 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.364e-05/0.1677, allocations: 0 / 0.8352 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.1677, allocations: 3.938 kB / 0.8352 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.1686, allocations: 220.6 kB / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.1687, allocations: 35.91 kB / 0.8354 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.1687, allocations: 12 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.1687, allocations: 15.98 kB / 0.8355 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.1688, allocations: 23.89 kB / 0.8355 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1688, allocations: 7.938 kB / 0.8355 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.1694, allocations: 255.6 kB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.1694, allocations: 7.984 kB / 0.8357 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.1694, allocations: 19.86 kB / 0.8358 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.1699, allocations: 223.4 kB / 0.836 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1699, allocations: 0 / 0.836 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1699, allocations: 0 / 0.836 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1699, allocations: 0 / 0.836 GB, free: 4.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004706/0.1703, allocations: 329 kB / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1704, allocations: 13.94 kB / 0.8363 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.1704, allocations: 4.891 kB / 0.8363 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1705, allocations: 110.5 kB / 0.8364 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1706, allocations: 8.312 kB / 0.8364 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1706, allocations: 384 / 0.8364 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1708, allocations: 115.6 kB / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1708, allocations: 0 / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1708, allocations: 4 kB / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1708, allocations: 0 / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.959e-05/0.1709, allocations: 69.67 kB / 0.8366 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.171, allocations: 113.2 kB / 0.8367 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1712, allocations: 88.25 kB / 0.8368 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.1712, allocations: 70.56 kB / 0.8369 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.1713, allocations: 0 / 0.8369 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1713, allocations: 34.5 kB / 0.8369 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1713, allocations: 0 / 0.8369 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003925/0.1717, allocations: 254.6 kB / 0.8371 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1717, allocations: 81.11 kB / 0.8372 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1718, allocations: 113.8 kB / 0.8373 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1719, allocations: 25.7 kB / 0.8373 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1719, allocations: 88.17 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.172, allocations: 27.8 kB / 0.8375 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.172, allocations: 17.72 kB / 0.8375 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1721, allocations: 318.8 kB / 0.8378 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.1722, allocations: 65.67 kB / 0.8378 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.1723, allocations: 73.61 kB / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1725, allocations: 144.2 kB / 0.838 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1725, allocations: 0 / 0.838 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002326/0.1727, allocations: 181.8 kB / 0.8382 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.1728, allocations: 37.69 kB / 0.8383 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1728, allocations: 16 kB / 0.8383 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1728, allocations: 0 / 0.8383 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1728, allocations: 3.938 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1728, allocations: 0 / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1729, allocations: 15.88 kB / 0.8383 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.1729, allocations: 11.98 kB / 0.8383 GB, free: 2.27 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 (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.0001213/0.1731, allocations: 148.2 kB / 0.8384 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.1731, allocations: 4 kB / 0.8384 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.1731, allocations: 16.23 kB / 0.8385 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1731, allocations: 7.938 kB / 0.8385 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1731, allocations: 4 kB / 0.8385 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1731, allocations: 0 / 0.8385 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1732, allocations: 113.3 kB / 0.8386 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1732, allocations: 0 / 0.8386 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.1732, allocations: 0 / 0.8386 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1732, allocations: 0 / 0.8386 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1732, allocations: 4 kB / 0.8386 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1732, allocations: 3.938 kB / 0.8386 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1732, allocations: 0 / 0.8386 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1735, allocations: 228.5 kB / 0.8388 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.1735, allocations: 7.953 kB / 0.8388 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1736, allocations: 4.031 kB / 0.8388 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.1736, allocations: 15.92 kB / 0.8388 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.1736, allocations: 0 / 0.8388 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1736, allocations: 4 kB / 0.8388 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.1737, allocations: 95.27 kB / 0.8389 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1737, allocations: 0 / 0.8389 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003329/0.174, allocations: 79.8 kB / 0.839 GB, free: 1.469 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 (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.0003263/0.1744, allocations: 155.1 kB / 0.8391 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1747, allocations: 226.7 kB / 0.8394 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1747, allocations: 8.062 kB / 0.8394 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1748, allocations: 149 kB / 0.8395 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.175, allocations: 4 kB / 0.8395 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.1753, allocations: 198.6 kB / 0.8397 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.023e-05/0.1754, allocations: 63.34 kB / 0.8398 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.083e-06/0.1754, allocations: 7.984 kB / 0.8398 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.1754, allocations: 7.438 kB / 0.8398 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.1754, allocations: 0 / 0.8398 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of Templates: time 0.005656/0.1811, allocations: 2.137 MB / 0.8419 GB, free: 14.45 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.244992116466165] Failed to read output from testmodel.py, exit status != 0: 0.1889559719711542 0.20566286 0.032560111 Calling exit ...