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.00153/0.00153, allocations: 109.1 kB / 15.99 MB, free: 6.336 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.001408/0.001408, allocations: 199.2 kB / 16.91 MB, free: 6.176 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 303 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.131/1.131, allocations: 178.5 MB / 0.5076 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 99.84 kB / 0.6066 GB, free: 9.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1552, allocations: 89.12 MB / 0.6936 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001744/0.1569, allocations: 0.6805 MB / 0.6943 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1587, allocations: 1.449 MB / 0.6957 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.1587, allocations: 0 / 0.6957 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.1588, allocations: 0 / 0.6957 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.414e-05/0.1588, allocations: 7.938 kB / 0.6957 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.1594, allocations: 195.7 kB / 0.6959 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.1595, allocations: 31.97 kB / 0.6959 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.1595, allocations: 0 / 0.6959 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.1596, allocations: 19.92 kB / 0.696 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.1596, allocations: 27.91 kB / 0.696 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1596, allocations: 0 / 0.696 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.16, allocations: 247.6 kB / 0.6962 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.16, allocations: 7.984 kB / 0.6962 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1601, allocations: 19.86 kB / 0.6962 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1603, allocations: 139.8 kB / 0.6964 GB, free: 13.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1603, allocations: 8 kB / 0.6964 GB, free: 13.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1603, allocations: 0 / 0.6964 GB, free: 13.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1603, allocations: 0 / 0.6964 GB, free: 13.61 MB / 0.545 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.000395/0.1607, allocations: 401.4 kB / 0.6968 GB, free: 13.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1607, allocations: 8.031 kB / 0.6968 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.1608, allocations: 8.844 kB / 0.6968 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1609, allocations: 172.2 kB / 0.6969 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1609, allocations: 384 / 0.6969 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1609, allocations: 4.375 kB / 0.697 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1611, allocations: 81.91 kB / 0.697 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1611, allocations: 0 / 0.697 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1611, allocations: 0 / 0.697 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.1611, allocations: 0 / 0.697 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.1612, allocations: 39.97 kB / 0.6971 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.1613, allocations: 161.6 kB / 0.6972 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.1614, allocations: 66.55 kB / 0.6973 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.547e-05/0.1615, allocations: 48.86 kB / 0.6973 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.1615, allocations: 7.938 kB / 0.6973 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1616, allocations: 38.5 kB / 0.6974 GB, free: 12.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1616, allocations: 0 / 0.6974 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003064/0.1619, allocations: 187.4 kB / 0.6976 GB, free: 12.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1619, allocations: 77.11 kB / 0.6976 GB, free: 12.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.162, allocations: 117.8 kB / 0.6977 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1621, allocations: 25.7 kB / 0.6978 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.1621, allocations: 84.14 kB / 0.6978 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.1622, allocations: 35.61 kB / 0.6979 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.1622, allocations: 17.72 kB / 0.6979 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1623, allocations: 322.8 kB / 0.6982 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.1624, allocations: 39.91 kB / 0.6982 GB, free: 11.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.1625, allocations: 31.97 kB / 0.6983 GB, free: 11.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1626, allocations: 144.8 kB / 0.6984 GB, free: 11.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1626, allocations: 4 kB / 0.6984 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.1628, allocations: 147.3 kB / 0.6986 GB, free: 11.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.1629, allocations: 37.69 kB / 0.6986 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1629, allocations: 8 kB / 0.6986 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.1629, allocations: 0 / 0.6986 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1629, allocations: 0 / 0.6986 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.1629, allocations: 0 / 0.6986 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.163, allocations: 11.89 kB / 0.6986 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.163, allocations: 8 kB / 0.6986 GB, free: 11.06 MB / 0.545 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.0001082/0.1631, allocations: 155 kB / 0.6988 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.1631, allocations: 7.938 kB / 0.6988 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.1632, allocations: 8.375 kB / 0.6988 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1632, allocations: 3.984 kB / 0.6988 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1632, allocations: 4 kB / 0.6988 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1632, allocations: 0 / 0.6988 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.1633, allocations: 165.7 kB / 0.6989 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1633, allocations: 0 / 0.6989 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1633, allocations: 0 / 0.6989 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1633, allocations: 3.938 kB / 0.699 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1634, allocations: 7.938 kB / 0.699 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1634, allocations: 0 / 0.699 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1634, allocations: 3.984 kB / 0.699 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1636, allocations: 202.7 kB / 0.6992 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1637, allocations: 92.94 kB / 0.6992 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1637, allocations: 0 / 0.6992 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.1637, allocations: 8 kB / 0.6993 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.1638, allocations: 3.984 kB / 0.6993 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1638, allocations: 4 kB / 0.6993 GB, free: 10.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.1638, allocations: 95.2 kB / 0.6994 GB, free: 10.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1638, allocations: 4 kB / 0.6994 GB, free: 10.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002704/0.1641, allocations: 68.03 kB / 0.6994 GB, free: 10.12 MB / 0.545 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.0002773/0.1644, allocations: 167.1 kB / 0.6996 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.1647, allocations: 199.3 kB / 0.6998 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1647, allocations: 0 / 0.6998 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1648, allocations: 151.3 kB / 0.6999 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1649, allocations: 7.938 kB / 0.6999 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1652, allocations: 206.7 kB / 0.7001 GB, free: 9.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1656, allocations: 0.6846 MB / 0.7008 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-06/0.1656, allocations: 7.438 kB / 0.7008 GB, free: 8.629 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.1656, allocations: 0 / 0.7008 GB, free: 8.629 MB / 0.545 GB Notification: Performance of Templates: time 0.003328/0.1689, allocations: 1.726 MB / 0.7025 GB, free: 6.914 MB / 0.545 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)