Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9739/0.9739, allocations: 143 MB / 433.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001193, allocations: 63.91 kB / 0.5142 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 82.03 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001833/0.1604, allocations: 0.6527 MB / 0.5949 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1621, allocations: 1.26 MB / 0.5961 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.089e-05/0.1621, allocations: 0 / 0.5961 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.1622, allocations: 0 / 0.5961 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.1622, allocations: 0 / 0.5961 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1625, allocations: 45.64 kB / 0.5962 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.525e-05/0.1625, allocations: 8 kB / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.1626, allocations: 0 / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.1626, allocations: 0 / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.1626, allocations: 4 kB / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.1626, allocations: 0 / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.1629, allocations: 99.89 kB / 0.5963 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.1629, allocations: 0 / 0.5963 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.1629, allocations: 7.984 kB / 0.5963 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.163, allocations: 31.95 kB / 0.5963 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.163, allocations: 3.938 kB / 0.5963 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1631, allocations: 4 kB / 0.5963 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1631, allocations: 0 / 0.5963 GB, free: 7.938 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003269/0.1634, allocations: 331.5 kB / 0.5966 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1634, allocations: 11.97 kB / 0.5967 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.1635, allocations: 0.9375 kB / 0.5967 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1636, allocations: 168.4 kB / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1636, allocations: 384 / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1636, allocations: 384 / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.528e-05/0.1637, allocations: 30.02 kB / 0.5969 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1637, allocations: 4 kB / 0.5969 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1637, allocations: 0 / 0.5969 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1638, allocations: 4 kB / 0.5969 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.1638, allocations: 3.984 kB / 0.5969 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.1639, allocations: 141.7 kB / 0.597 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.885e-05/0.164, allocations: 26.55 kB / 0.597 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.164, allocations: 4.859 kB / 0.597 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005887/0.1646, allocations: 0.5623 MB / 0.5976 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1646, allocations: 38.5 kB / 0.5976 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.1646, allocations: 0 / 0.5976 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.1648, allocations: 33.7 kB / 0.5976 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1648, allocations: 55.34 kB / 0.5977 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.806e-05/0.1649, allocations: 89.98 kB / 0.5978 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1649, allocations: 29.7 kB / 0.5978 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.1649, allocations: 84.12 kB / 0.5979 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.165, allocations: 7.906 kB / 0.5979 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.165, allocations: 9.719 kB / 0.5979 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1651, allocations: 314.8 kB / 0.5982 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.1652, allocations: 0 / 0.5982 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.1652, allocations: 4 kB / 0.5982 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.1652, allocations: 8.922 kB / 0.5982 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1652, allocations: 4 kB / 0.5982 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.94e-05/0.1653, allocations: 33.64 kB / 0.5983 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1653, allocations: 11.92 kB / 0.5983 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1653, allocations: 3.938 kB / 0.5983 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1653, allocations: 0 / 0.5983 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.1654, allocations: 4 kB / 0.5983 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1654, allocations: 0 / 0.5983 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.1654, allocations: 0 / 0.5983 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1654, allocations: 0 / 0.5983 GB, free: 5.594 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): 1 * 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 prepare postOptimizeDAE: time 6.779e-05/0.1655, allocations: 113.9 kB / 0.5984 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.1655, allocations: 7.938 kB / 0.5984 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.521e-05/0.1656, allocations: 36.81 kB / 0.5984 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1656, allocations: 0 / 0.5984 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1656, allocations: 0 / 0.5984 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1656, allocations: 0 / 0.5984 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.874e-05/0.1657, allocations: 153.6 kB / 0.5986 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1657, allocations: 4.031 kB / 0.5986 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.1657, allocations: 7.922 kB / 0.5986 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1657, allocations: 7.922 kB / 0.5986 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1657, allocations: 4 kB / 0.5986 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1657, allocations: 0 / 0.5986 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1658, allocations: 0 / 0.5986 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.21e-05/0.1658, allocations: 53.14 kB / 0.5986 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.1659, allocations: 81.42 kB / 0.5987 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1659, allocations: 11.92 kB / 0.5987 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.1659, allocations: 0 / 0.5987 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.1659, allocations: 0 / 0.5987 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.1659, allocations: 0 / 0.5987 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.1659, allocations: 75.28 kB / 0.5988 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.166, allocations: 0 / 0.5988 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001896/0.1661, allocations: 8 kB / 0.5988 GB, free: 4.941 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): 1 * 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.0001773/0.1663, allocations: 107.2 kB / 0.5989 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.786e-05/0.1664, allocations: 15.92 kB / 0.5989 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1664, allocations: 0 / 0.5989 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-06/0.1664, allocations: 4 kB / 0.5989 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.1666, allocations: 3.938 kB / 0.5989 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000183/0.1667, allocations: 108.4 kB / 0.599 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.167, allocations: 0.6692 MB / 0.5997 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.167, allocations: 7.438 kB / 0.5997 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.167, allocations: 128 / 0.5997 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of Templates: time 0.001885/0.1689, allocations: 443.8 kB / 0.6001 GB, free: 3.527 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)