Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00147/0.00147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9549/0.9549, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1676, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.001792/0.1694, allocations: 1.194 MB / 0.5984 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1705, allocations: 0.5974 MB / 0.599 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.1706, allocations: 0 / 0.599 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.1706, allocations: 3.984 kB / 0.599 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.1707, allocations: 11.98 kB / 0.599 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.171, allocations: 47.83 kB / 0.5991 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.1711, allocations: 23.91 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.1712, allocations: 19.97 kB / 0.5991 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.1713, allocations: 15.94 kB / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.1713, allocations: 11.92 kB / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1714, allocations: 0 / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.1715, allocations: 95.83 kB / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.1716, allocations: 0 / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.1716, allocations: 37.64 kB / 0.5993 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1717, allocations: 56.19 kB / 0.5993 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.1717, allocations: 0 / 0.5993 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1717, allocations: 0 / 0.5993 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1717, allocations: 0 / 0.5993 GB, free: 5.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004499/0.1722, allocations: 359.2 kB / 0.5997 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1723, allocations: 12.03 kB / 0.5997 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.1723, allocations: 3.906 kB / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1724, allocations: 175 kB / 0.5999 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1724, allocations: 0 / 0.5999 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1725, allocations: 8 kB / 0.5999 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1726, allocations: 45.69 kB / 0.5999 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1727, allocations: 7.984 kB / 0.5999 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1727, allocations: 8 kB / 0.5999 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1727, allocations: 0 / 0.5999 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1728, allocations: 31.91 kB / 0.6 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1732, allocations: 280.8 kB / 0.6002 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1733, allocations: 34.58 kB / 0.6003 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004901/0.1738, allocations: 0.5622 MB / 0.6008 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1739, allocations: 38.56 kB / 0.6008 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1739, allocations: 0 / 0.6008 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002692/0.1742, allocations: 77.53 kB / 0.6009 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1742, allocations: 55.41 kB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.1743, allocations: 117.8 kB / 0.6011 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1743, allocations: 33.58 kB / 0.6011 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1744, allocations: 92.12 kB / 0.6012 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1744, allocations: 7.969 kB / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.1744, allocations: 8 kB / 0.6012 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1745, allocations: 314.8 kB / 0.6015 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.1746, allocations: 11.98 kB / 0.6015 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.1746, allocations: 15.94 kB / 0.6015 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.1747, allocations: 11.98 kB / 0.6016 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1747, allocations: 4.062 kB / 0.6016 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001257/0.1748, allocations: 53.69 kB / 0.6016 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1749, allocations: 5.719 kB / 0.6016 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1749, allocations: 0 / 0.6016 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1749, allocations: 4 kB / 0.6016 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.175, allocations: 7.984 kB / 0.6016 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.175, allocations: 3.953 kB / 0.6016 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.175, allocations: 11.94 kB / 0.6016 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.175, allocations: 0 / 0.6016 GB, free: 2.992 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/0.1751, allocations: 113.8 kB / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1751, allocations: 0 / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.1753, allocations: 69.14 kB / 0.6018 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1753, allocations: 4 kB / 0.6018 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1753, allocations: 0 / 0.6018 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1754, allocations: 7.984 kB / 0.6018 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1755, allocations: 165.6 kB / 0.602 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1755, allocations: 0 / 0.602 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.1756, allocations: 4 kB / 0.602 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1756, allocations: 0 / 0.602 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1756, allocations: 4 kB / 0.602 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1756, allocations: 0 / 0.602 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1756, allocations: 8 kB / 0.602 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.1758, allocations: 163.3 kB / 0.6022 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.1759, allocations: 77.11 kB / 0.6022 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1759, allocations: 4 kB / 0.6022 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.176, allocations: 0 / 0.6022 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.176, allocations: 11.98 kB / 0.6022 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.176, allocations: 0 / 0.6022 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.1761, allocations: 99.23 kB / 0.6023 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1761, allocations: 0 / 0.6023 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002349/0.1763, allocations: 12 kB / 0.6024 GB, free: 2.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.1765, allocations: 107.2 kB / 0.6025 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1767, allocations: 23.98 kB / 0.6025 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1767, allocations: 0 / 0.6025 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.1768, allocations: 31.92 kB / 0.6025 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1769, allocations: 0 / 0.6025 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.1772, allocations: 144.9 kB / 0.6026 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1775, allocations: 0.6887 MB / 0.6033 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.1775, allocations: 4.062 kB / 0.6033 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.1775, allocations: 15.42 kB / 0.6033 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1775, allocations: 0 / 0.6033 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of Templates: time 0.002744/0.1803, allocations: 436.9 kB / 0.6038 GB, free: 0.668 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: