Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009449/0.000945, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009401/0.0009402, allocations: 191.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.1 MB / 222.1 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.458/1.458, allocations: 292.3 MB / 0.5485 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.48 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1631, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00151/0.1647, allocations: 0.6509 MB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1658, allocations: 1.277 MB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-06/0.1658, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.1659, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-06/0.1659, allocations: 3.938 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1662, allocations: 55.88 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.689e-05/0.1662, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.63e-05/0.1662, allocations: 8 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.051e-05/0.1662, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.545e-05/0.1663, allocations: 4 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-06/0.1663, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1664, allocations: 91.89 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-06/0.1665, allocations: 4 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.105e-05/0.1665, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.494e-05/0.1666, allocations: 47.94 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1666, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1666, allocations: 4 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.1666, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 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.0002286/0.1668, allocations: 323.6 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.1669, allocations: 8.031 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.903e-05/0.1669, allocations: 4.938 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.418e-05/0.167, allocations: 168.3 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.167, allocations: 4.312 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.167, allocations: 384 / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.511e-05/0.167, allocations: 34.02 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.1671, allocations: 4 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.1671, allocations: 4 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.1671, allocations: 0 / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.34e-05/0.1671, allocations: 0 / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.765e-05/0.1672, allocations: 145.7 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.147e-05/0.1672, allocations: 22.55 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.213e-05/0.1672, allocations: 4.859 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/0.1677, allocations: 0.5623 MB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1677, allocations: 34.5 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1677, allocations: 4 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 9.584e-05/0.1678, allocations: 37.69 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.1679, allocations: 51.41 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.89e-05/0.1679, allocations: 89.86 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1679, allocations: 29.64 kB / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.1679, allocations: 84.27 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1679, allocations: 7.844 kB / 0.7865 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.168, allocations: 13.72 kB / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.1681, allocations: 310.8 kB / 0.7868 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-06/0.1681, allocations: 0 / 0.7868 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/0.1681, allocations: 4 kB / 0.7868 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.1681, allocations: 8.859 kB / 0.7868 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1681, allocations: 4.062 kB / 0.7868 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.264e-05/0.1682, allocations: 37.69 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1682, allocations: 7.938 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.1682, allocations: 0 / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.1682, allocations: 0 / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.34e-05/0.1682, allocations: 7.938 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.1682, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-06/0.1682, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1683, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 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 4.753e-05/0.1683, allocations: 109.9 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.1683, allocations: 7.938 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.1684, allocations: 40.81 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1684, allocations: 3.938 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1684, allocations: 0 / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.1684, allocations: 0 / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.645e-05/0.1685, allocations: 150 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1685, allocations: 0 / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.1685, allocations: 0 / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1685, allocations: 7.969 kB / 0.7872 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.1685, allocations: 4 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1685, allocations: 4 kB / 0.7872 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1685, allocations: 3.938 kB / 0.7872 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.016e-05/0.1686, allocations: 61.11 kB / 0.7873 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.1686, allocations: 77.11 kB / 0.7873 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1686, allocations: 7.938 kB / 0.7874 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.1686, allocations: 4.031 kB / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.1687, allocations: 0 / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1687, allocations: 0 / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.781e-05/0.1687, allocations: 75.28 kB / 0.7874 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1687, allocations: 0 / 0.7874 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000185/0.1689, allocations: 8 kB / 0.7874 GB, free: 8.715 MB / 0.6075 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.0001181/0.169, allocations: 111.2 kB / 0.7875 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.18e-05/0.1691, allocations: 11.94 kB / 0.7876 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1691, allocations: 4.062 kB / 0.7876 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.1691, allocations: 4 kB / 0.7876 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.1692, allocations: 6.188 kB / 0.7876 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001174/0.1693, allocations: 76.94 kB / 0.7876 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.1695, allocations: 0.6729 MB / 0.7883 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.1695, allocations: 4 kB / 0.7883 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-06/0.1695, allocations: 11.5 kB / 0.7883 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1695, allocations: 0 / 0.7883 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of Templates: time 0.001628/0.1712, allocations: 292.6 kB / 0.7886 GB, free: 7.469 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)