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.001301/0.001301, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001316/0.001316, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 282.8 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.127/1.127, allocations: 178.6 MB / 0.5069 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 101.7 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1568, allocations: 89.15 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00181/0.1587, allocations: 0.6848 MB / 0.6937 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1606, allocations: 1.441 MB / 0.6951 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.1607, allocations: 0 / 0.6951 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.1607, allocations: 0.7812 kB / 0.6951 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.972e-05/0.1608, allocations: 11.98 kB / 0.6951 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1614, allocations: 193.3 kB / 0.6953 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.1615, allocations: 31.98 kB / 0.6953 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1616, allocations: 7.984 kB / 0.6953 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.1616, allocations: 15.94 kB / 0.6953 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.1616, allocations: 23.97 kB / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1617, allocations: 0 / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.162, allocations: 243.7 kB / 0.6956 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.1621, allocations: 11.92 kB / 0.6956 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.1621, allocations: 15.88 kB / 0.6956 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1625, allocations: 219.5 kB / 0.6958 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1625, allocations: 0 / 0.6958 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1625, allocations: 0 / 0.6958 GB, free: 1.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1625, allocations: 0 / 0.6958 GB, free: 1.812 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.0004422/0.1629, allocations: 401.3 kB / 0.6962 GB, free: 1.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.163, allocations: 12.03 kB / 0.6962 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.163, allocations: 0.9375 kB / 0.6962 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1632, allocations: 184.2 kB / 0.6964 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1632, allocations: 384 / 0.6964 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1632, allocations: 4.375 kB / 0.6964 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1634, allocations: 77.91 kB / 0.6965 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1634, allocations: 3.984 kB / 0.6965 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1634, allocations: 4 kB / 0.6965 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1634, allocations: 3.938 kB / 0.6965 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.1635, allocations: 35.97 kB / 0.6965 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.1636, allocations: 157.7 kB / 0.6967 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1637, allocations: 62.55 kB / 0.6967 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.1638, allocations: 52.86 kB / 0.6968 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.1638, allocations: 0 / 0.6968 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1639, allocations: 42.44 kB / 0.6968 GB, free: 0.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1639, allocations: 0 / 0.6968 GB, free: 0.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003385/0.1642, allocations: 187.6 kB / 0.697 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1643, allocations: 85.11 kB / 0.6971 GB, free: 336 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1644, allocations: 121.8 kB / 0.6972 GB, free: 204 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1644, allocations: 29.7 kB / 0.6972 GB, free: 168 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.1645, allocations: 84.14 kB / 0.6973 GB, free: 80 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1645, allocations: 19.66 kB / 0.6973 GB, free: 60 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1646, allocations: 29.64 kB / 0.6973 GB, free: 24 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1647, allocations: 310.8 kB / 0.6976 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.1648, allocations: 35.97 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.1649, allocations: 43.91 kB / 0.6977 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.165, allocations: 140.2 kB / 0.6978 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.165, allocations: 0 / 0.6978 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002051/0.1652, allocations: 147.3 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.1653, allocations: 41.64 kB / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1653, allocations: 0 / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1653, allocations: 3.984 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1653, allocations: 0 / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1654, allocations: 0 / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1655, allocations: 11.91 kB / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.1655, allocations: 4 kB / 0.698 GB, free: 15.26 MB / 0.4981 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.0001248/0.1656, allocations: 155.5 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1656, allocations: 7.938 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.1657, allocations: 8.375 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1657, allocations: 7.938 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1657, allocations: 0 / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1657, allocations: 0 / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1658, allocations: 165.6 kB / 0.6984 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1658, allocations: 3.984 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1659, allocations: 7.938 kB / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1659, allocations: 7.938 kB / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1659, allocations: 0 / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1659, allocations: 4 kB / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1659, allocations: 0 / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1661, allocations: 194.8 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1662, allocations: 84.95 kB / 0.6987 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1662, allocations: 4 kB / 0.6987 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.1663, allocations: 7.984 kB / 0.6987 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1663, allocations: 12.03 kB / 0.6987 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1663, allocations: 4 kB / 0.6987 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.1664, allocations: 87.27 kB / 0.6988 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1664, allocations: 0 / 0.6988 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002941/0.1667, allocations: 79.98 kB / 0.6988 GB, free: 14.32 MB / 0.4981 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.0002991/0.167, allocations: 159.1 kB / 0.699 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.1673, allocations: 199.9 kB / 0.6992 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1673, allocations: 64 / 0.6992 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1674, allocations: 151.4 kB / 0.6993 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1676, allocations: 12.92 kB / 0.6993 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.1679, allocations: 173 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1682, allocations: 0.6885 MB / 0.7002 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.919e-06/0.1682, allocations: 0 / 0.7002 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.1682, allocations: 7.438 kB / 0.7002 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1682, allocations: 4.062 kB / 0.7002 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.004868/0.1731, allocations: 2.046 MB / 0.7022 GB, free: 10.82 MB / 0.4981 GB 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)