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.001007/0.00101, allocations: 104.3 kB / 16.36 MB, free: 5.824 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.0009605/0.0009606, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 285.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9109/0.9109, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 99.05 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1538, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001788/0.1556, allocations: 0.6177 MB / 0.6822 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1572, allocations: 1.443 MB / 0.6836 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.1572, allocations: 0 / 0.6836 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.1573, allocations: 7.875 kB / 0.6836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.644e-05/0.1573, allocations: 0 / 0.6836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.1579, allocations: 210.5 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.158, allocations: 39.97 kB / 0.6839 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.1581, allocations: 7.984 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.1581, allocations: 11.94 kB / 0.6839 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.1581, allocations: 19.97 kB / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1582, allocations: 4 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.1585, allocations: 251.6 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.1586, allocations: 7.938 kB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.1586, allocations: 15.88 kB / 0.6842 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1589, allocations: 215.6 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1589, allocations: 0 / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1589, allocations: 3.938 kB / 0.6844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1589, allocations: 4 kB / 0.6844 GB, free: 4.582 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.000384/0.1593, allocations: 401.1 kB / 0.6848 GB, free: 4.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1593, allocations: 12.03 kB / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.1594, allocations: 4.844 kB / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1595, allocations: 176.2 kB / 0.6849 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1595, allocations: 384 / 0.6849 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1595, allocations: 4.375 kB / 0.6849 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1597, allocations: 73.97 kB / 0.685 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-06/0.1597, allocations: 0 / 0.685 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1597, allocations: 8 kB / 0.685 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1597, allocations: 3.938 kB / 0.685 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.1598, allocations: 39.91 kB / 0.6851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.1599, allocations: 161.7 kB / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.16, allocations: 58.56 kB / 0.6853 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.16, allocations: 52.86 kB / 0.6853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-06/0.16, allocations: 0 / 0.6853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1601, allocations: 42.5 kB / 0.6854 GB, free: 3.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1601, allocations: 0 / 0.6854 GB, free: 3.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002791/0.1604, allocations: 187.2 kB / 0.6855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1604, allocations: 89.09 kB / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.1605, allocations: 114 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1605, allocations: 25.7 kB / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.1606, allocations: 88.14 kB / 0.6858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.1606, allocations: 27.55 kB / 0.6859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.1606, allocations: 25.75 kB / 0.6859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.1607, allocations: 314.8 kB / 0.6862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.1608, allocations: 31.98 kB / 0.6862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.1609, allocations: 43.91 kB / 0.6863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.161, allocations: 140.2 kB / 0.6864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.161, allocations: 0 / 0.6864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001677/0.1612, allocations: 151.3 kB / 0.6865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.1612, allocations: 41.62 kB / 0.6866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1612, allocations: 0 / 0.6866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1612, allocations: 4.062 kB / 0.6866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.1612, allocations: 0 / 0.6866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1612, allocations: 0 / 0.6866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.1613, allocations: 8 kB / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.1613, allocations: 7.984 kB / 0.6866 GB, free: 2.027 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.263e-05/0.1614, allocations: 147.5 kB / 0.6867 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.1615, allocations: 15.83 kB / 0.6868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.149e-05/0.1615, allocations: 8.375 kB / 0.6868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.1615, allocations: 0 / 0.6868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1615, allocations: 4 kB / 0.6868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1615, allocations: 0 / 0.6868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.656e-05/0.1616, allocations: 165.6 kB / 0.6869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1616, allocations: 0 / 0.6869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1616, allocations: 3.938 kB / 0.6869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1616, allocations: 7.938 kB / 0.6869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1616, allocations: 4 kB / 0.6869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1617, allocations: 0 / 0.6869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1617, allocations: 4 kB / 0.687 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1619, allocations: 202.6 kB / 0.6871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.1619, allocations: 84.98 kB / 0.6872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1619, allocations: 4 kB / 0.6872 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.257e-05/0.162, allocations: 7.984 kB / 0.6872 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.162, allocations: 8 kB / 0.6872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.162, allocations: 4 kB / 0.6872 GB, free: 1.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.1621, allocations: 95.88 kB / 0.6873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1621, allocations: 0 / 0.6873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1623, allocations: 71.98 kB / 0.6874 GB, free: 1.094 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.0002464/0.1626, allocations: 163.2 kB / 0.6876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.1628, allocations: 195.3 kB / 0.6878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1628, allocations: 0 / 0.6878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1629, allocations: 155.3 kB / 0.6879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1631, allocations: 10.34 kB / 0.6879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.1633, allocations: 164.9 kB / 0.6881 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2312/0.3946, allocations: 0.6852 MB / 0.6887 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.558e-06/0.3946, allocations: 0.9375 kB / 0.6887 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.3946, allocations: 8 kB / 0.6887 GB, free: 17.71 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3946, allocations: 3.031 kB / 0.6887 GB, free: 17.71 MB / 494.1 MB Notification: Performance of Templates: time 0.004882/0.3995, allocations: 2.042 MB / 0.6907 GB, free: 17.65 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)