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.001235/0.001235, allocations: 105 kB / 15.98 MB, free: 6.352 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.001319/0.001319, allocations: 195.3 kB / 16.91 MB, free: 6.188 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.21/1.21, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 295.2 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8564/0.8564, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 93.48 kB / 0.5953 GB, free: 4.461 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1501, allocations: 86.97 MB / 0.6803 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001856/0.1519, allocations: 0.6794 MB / 0.6809 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1537, allocations: 1.436 MB / 0.6823 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.1538, allocations: 4 kB / 0.6823 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.1538, allocations: 0 / 0.6823 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.1539, allocations: 4 kB / 0.6824 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.1546, allocations: 195.2 kB / 0.6825 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.595e-05/0.1547, allocations: 43.95 kB / 0.6826 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.1547, allocations: 288 / 0.6826 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.1548, allocations: 19.92 kB / 0.6826 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.1548, allocations: 19.92 kB / 0.6826 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1548, allocations: 4 kB / 0.6826 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.1552, allocations: 251.7 kB / 0.6829 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.1552, allocations: 7.938 kB / 0.6829 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.1553, allocations: 19.86 kB / 0.6829 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1555, allocations: 139.8 kB / 0.683 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1555, allocations: 4 kB / 0.683 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1555, allocations: 0 / 0.683 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1555, allocations: 0 / 0.683 GB, free: 10.66 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.0003988/0.1559, allocations: 409 kB / 0.6834 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.156, allocations: 8.031 kB / 0.6834 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.156, allocations: 8.844 kB / 0.6834 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1561, allocations: 164.3 kB / 0.6836 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1562, allocations: 4.375 kB / 0.6836 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1562, allocations: 384 / 0.6836 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1563, allocations: 77.97 kB / 0.6837 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1563, allocations: 0 / 0.6837 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1564, allocations: 0 / 0.6837 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1564, allocations: 0 / 0.6837 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.1564, allocations: 43.91 kB / 0.6837 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.1566, allocations: 165.6 kB / 0.6839 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.1567, allocations: 62.55 kB / 0.6839 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.1567, allocations: 56.86 kB / 0.684 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.1568, allocations: 3.938 kB / 0.684 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1568, allocations: 42.44 kB / 0.684 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.1568, allocations: 0 / 0.684 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002902/0.1571, allocations: 195.2 kB / 0.6842 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1571, allocations: 77.11 kB / 0.6843 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.1572, allocations: 109.8 kB / 0.6844 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1572, allocations: 29.7 kB / 0.6844 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.1573, allocations: 84.14 kB / 0.6845 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.1573, allocations: 27.64 kB / 0.6845 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.1574, allocations: 17.72 kB / 0.6845 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.1575, allocations: 322.9 kB / 0.6849 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.392e-05/0.1575, allocations: 39.97 kB / 0.6849 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.1576, allocations: 35.97 kB / 0.6849 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1577, allocations: 136.8 kB / 0.6851 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1577, allocations: 0 / 0.6851 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001718/0.1579, allocations: 159.3 kB / 0.6852 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.1579, allocations: 41.62 kB / 0.6852 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1579, allocations: 0 / 0.6852 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.158, allocations: 0 / 0.6852 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.158, allocations: 4 kB / 0.6852 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.158, allocations: 4.062 kB / 0.6853 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1581, allocations: 7.984 kB / 0.6853 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.1581, allocations: 8 kB / 0.6853 GB, free: 8.094 MB / 0.5294 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 9.423e-05/0.1582, allocations: 149.9 kB / 0.6854 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1582, allocations: 11.84 kB / 0.6854 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.1583, allocations: 4.375 kB / 0.6854 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1583, allocations: 3.984 kB / 0.6854 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1583, allocations: 3.984 kB / 0.6854 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1583, allocations: 0 / 0.6854 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1584, allocations: 173.7 kB / 0.6856 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1584, allocations: 0 / 0.6856 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.1584, allocations: 0 / 0.6856 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1584, allocations: 3.938 kB / 0.6856 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1584, allocations: 4 kB / 0.6856 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1584, allocations: 0 / 0.6856 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1584, allocations: 3.984 kB / 0.6856 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1586, allocations: 202.5 kB / 0.6858 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.1587, allocations: 85.02 kB / 0.6859 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1587, allocations: 8 kB / 0.6859 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.1588, allocations: 4 kB / 0.6859 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.1588, allocations: 7.984 kB / 0.6859 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1588, allocations: 4 kB / 0.6859 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.1588, allocations: 91.27 kB / 0.686 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1589, allocations: 3.938 kB / 0.686 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000285/0.1591, allocations: 68 kB / 0.6861 GB, free: 7.168 MB / 0.5294 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.0002915/0.1594, allocations: 167.2 kB / 0.6862 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1597, allocations: 199.2 kB / 0.6864 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1597, allocations: 0 / 0.6864 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1598, allocations: 155.3 kB / 0.6866 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.16, allocations: 4 kB / 0.6866 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.1603, allocations: 202.6 kB / 0.6868 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1605, allocations: 0.6885 MB / 0.6874 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.1605, allocations: 7.438 kB / 0.6874 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1605, allocations: 4 kB / 0.6874 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of Templates: time 0.003298/0.1638, allocations: 1.724 MB / 0.6891 GB, free: 3.949 MB / 0.5294 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)