Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001373/0.001373, allocations: 193.5 kB / 16.14 MB, free: 6.715 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 274.9 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 104.8 kB / 0.6057 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1694, allocations: 89.16 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.003116/0.1726, allocations: 1.557 MB / 0.6943 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.174, allocations: 0.7639 MB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.174, allocations: 0 / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1743, allocations: 135.7 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1744, allocations: 71.88 kB / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.1749, allocations: 134.2 kB / 0.6954 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1751, allocations: 71.8 kB / 0.6955 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.1751, allocations: 0 / 0.6955 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.1752, allocations: 35.94 kB / 0.6955 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1753, allocations: 79.86 kB / 0.6956 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1753, allocations: 4 kB / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.1757, allocations: 219.6 kB / 0.6958 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1758, allocations: 59.83 kB / 0.6959 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.1759, allocations: 55.48 kB / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.1763, allocations: 275.4 kB / 0.6962 GB, free: 1.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1763, allocations: 0 / 0.6962 GB, free: 1.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1763, allocations: 0 / 0.6962 GB, free: 1.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1763, allocations: 0 / 0.6962 GB, free: 1.379 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007242/0.177, allocations: 0.5061 MB / 0.6967 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1771, allocations: 12.03 kB / 0.6967 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1771, allocations: 20.66 kB / 0.6967 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1774, allocations: 251.7 kB / 0.6969 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1774, allocations: 384 / 0.6969 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1775, allocations: 8.375 kB / 0.6969 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1777, allocations: 77.91 kB / 0.697 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1777, allocations: 0 / 0.697 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1777, allocations: 8 kB / 0.697 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1777, allocations: 4 kB / 0.697 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.1779, allocations: 79.92 kB / 0.6971 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.1785, allocations: 396.7 kB / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1787, allocations: 94.45 kB / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1788, allocations: 48.89 kB / 0.6976 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.1789, allocations: 15.98 kB / 0.6976 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1789, allocations: 34.56 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1789, allocations: 0 / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004708/0.1794, allocations: 181.4 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1795, allocations: 51.41 kB / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.1799, allocations: 355.2 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1799, allocations: 25.7 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.18, allocations: 140.1 kB / 0.6984 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.18, allocations: 3.906 kB / 0.6984 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1801, allocations: 33.58 kB / 0.6984 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1803, allocations: 338.8 kB / 0.6987 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.1804, allocations: 103.9 kB / 0.6988 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1806, allocations: 95.94 kB / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1809, allocations: 204.7 kB / 0.6991 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1809, allocations: 0 / 0.6991 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004066/0.1813, allocations: 259.1 kB / 0.6994 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1814, allocations: 4 kB / 0.6994 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1814, allocations: 0 / 0.6994 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1814, allocations: 4 kB / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1815, allocations: 8.078 kB / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1815, allocations: 3.938 kB / 0.6994 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.1816, allocations: 15.84 kB / 0.6994 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1816, allocations: 3.984 kB / 0.6994 GB, free: 13.83 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001239/0.1817, allocations: 145.7 kB / 0.6996 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.1818, allocations: 27.72 kB / 0.6996 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1821, allocations: 138.6 kB / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1821, allocations: 0 / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1821, allocations: 4 kB / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1821, allocations: 0 / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.1824, allocations: 241.5 kB / 0.6999 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1824, allocations: 0 / 0.6999 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.1825, allocations: 16.03 kB / 0.7 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1825, allocations: 0 / 0.7 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1825, allocations: 3.984 kB / 0.7 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1825, allocations: 3.938 kB / 0.7 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1825, allocations: 0 / 0.7 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.1829, allocations: 235.1 kB / 0.7002 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.1829, allocations: 104.9 kB / 0.7003 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.183, allocations: 0 / 0.7003 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.1831, allocations: 7.984 kB / 0.7003 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1831, allocations: 0 / 0.7003 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1831, allocations: 4 kB / 0.7003 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002786/0.1834, allocations: 249.9 kB / 0.7005 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1834, allocations: 0 / 0.7005 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003709/0.1838, allocations: 67.94 kB / 0.7006 GB, free: 12.51 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0003128/0.1841, allocations: 163.1 kB / 0.7008 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.1845, allocations: 163.8 kB / 0.7009 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1845, allocations: 0 / 0.7009 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1846, allocations: 43.97 kB / 0.701 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.185, allocations: 16.59 kB / 0.701 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.1856, allocations: 409.7 kB / 0.7014 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.1861, allocations: 0.7407 MB / 0.7021 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.1861, allocations: 20.55 kB / 0.7021 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.1862, allocations: 11.44 kB / 0.7021 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1862, allocations: 0 / 0.7021 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.005436/0.1916, allocations: 2.02 MB / 0.7041 GB, free: 8.879 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)