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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005809/0.005809, allocations: 172.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001854/0.001854, allocations: 263.1 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004605, allocations: 18.38 kB / 0.5987 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 88.54 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006627/0.165, allocations: 339.7 kB / 0.6855 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1668, allocations: 1.461 MB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1668, allocations: 0.9375 kB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.1668, allocations: 0 / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.619e-05/0.1669, allocations: 1.188 kB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.1674, allocations: 166.8 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.1675, allocations: 33.38 kB / 0.6871 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.1675, allocations: 4 kB / 0.6871 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.1676, allocations: 19.86 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.1676, allocations: 21.28 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1676, allocations: 4 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.168, allocations: 243.6 kB / 0.6874 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.168, allocations: 11.92 kB / 0.6874 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.1681, allocations: 46.53 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1683, allocations: 207.6 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1683, allocations: 5.688 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1683, allocations: 0 / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.1684, allocations: 0 / 0.6876 GB, free: 12.55 MB / 494.1 MB 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.0003314/0.1687, allocations: 391.5 kB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1687, allocations: 8.781 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1688, allocations: 12.83 kB / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1689, allocations: 172.8 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1689, allocations: 6.906 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1689, allocations: 384 / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1691, allocations: 77.97 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.1691, allocations: 0 / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1691, allocations: 0 / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1691, allocations: 3.938 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.338e-05/0.1692, allocations: 37.97 kB / 0.6883 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1693, allocations: 165.6 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.1694, allocations: 66.48 kB / 0.6885 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.1695, allocations: 49.45 kB / 0.6886 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-06/0.1695, allocations: 5.719 kB / 0.6886 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1695, allocations: 34.5 kB / 0.6886 GB, free: 11.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1695, allocations: 0 / 0.6886 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002822/0.1698, allocations: 187.5 kB / 0.6888 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.1698, allocations: 81.98 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.1699, allocations: 114.5 kB / 0.689 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1699, allocations: 29.7 kB / 0.689 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.17, allocations: 85.48 kB / 0.6891 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.17, allocations: 23.64 kB / 0.6891 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1701, allocations: 17.72 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.1702, allocations: 315.5 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.1702, allocations: 32.61 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.1703, allocations: 40 kB / 0.6895 GB, free: 10.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1704, allocations: 144.2 kB / 0.6896 GB, free: 10.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1704, allocations: 0 / 0.6896 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001746/0.1706, allocations: 151.2 kB / 0.6898 GB, free: 10.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.1707, allocations: 43.5 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1707, allocations: 3.938 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1707, allocations: 3.938 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1707, allocations: 0 / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.1707, allocations: 0 / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.1708, allocations: 8 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1708, allocations: 12.05 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB 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 9.669e-05/0.1709, allocations: 148.8 kB / 0.69 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.1709, allocations: 11.84 kB / 0.69 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-06/0.171, allocations: 8.375 kB / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.171, allocations: 0 / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.171, allocations: 0 / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-06/0.171, allocations: 0 / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1711, allocations: 165.6 kB / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1711, allocations: 0 / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1711, allocations: 3.938 kB / 0.6902 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1711, allocations: 7.938 kB / 0.6902 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1711, allocations: 4 kB / 0.6902 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1711, allocations: 4 kB / 0.6902 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1711, allocations: 0 / 0.6902 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1714, allocations: 207.2 kB / 0.6904 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.1714, allocations: 81.05 kB / 0.6905 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1714, allocations: 4 kB / 0.6905 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.1715, allocations: 7.984 kB / 0.6905 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.1715, allocations: 8.031 kB / 0.6905 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1715, allocations: 8 kB / 0.6905 GB, free: 9.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.1715, allocations: 95.25 kB / 0.6906 GB, free: 9.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 0.6906 GB, free: 9.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1718, allocations: 71.98 kB / 0.6906 GB, free: 9.098 MB / 494.1 MB 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.0002556/0.1721, allocations: 163.1 kB / 0.6908 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1723, allocations: 195.3 kB / 0.691 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.1723, allocations: 4.062 kB / 0.691 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1724, allocations: 151.3 kB / 0.6911 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1726, allocations: 7 kB / 0.6911 GB, free: 8.559 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.1728, allocations: 186.5 kB / 0.6913 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1731, allocations: 0.6926 MB / 0.692 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.876e-06/0.1731, allocations: 0 / 0.692 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-06/0.1731, allocations: 11.5 kB / 0.692 GB, free: 7.621 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1731, allocations: 0 / 0.692 GB, free: 7.621 MB / 494.1 MB Notification: Performance of Templates: time 0.003839/0.1769, allocations: 1.977 MB / 0.6939 GB, free: 5.652 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (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)