Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5535/0.5535, allocations: 94.78 MB / 102.3 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001105/0.001105, allocations: 174.2 kB / 125.5 MB, free: 11.89 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.673/1.673, allocations: 170.6 MB / 319.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001676/0.001676, allocations: 112.9 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.989e-05, allocations: 8 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1666, allocations: 61.52 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.6245, allocations: 93.19 MB / 0.5897 GB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.6248, allocations: 76.83 kB / 0.5898 GB, free: 8.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003561/0.6284, allocations: 1.185 MB / 0.5909 GB, free: 7.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6284, allocations: 1.219 kB / 0.5909 GB, free: 7.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.6284, allocations: 4 kB / 0.5909 GB, free: 7.535 MB / 410.7 MB 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.0003276/0.6288, allocations: 327.2 kB / 0.5912 GB, free: 7.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6288, allocations: 12.03 kB / 0.5912 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.6289, allocations: 0.9062 kB / 0.5912 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.629, allocations: 163.1 kB / 0.5914 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.629, allocations: 0.875 kB / 0.5914 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.629, allocations: 0 / 0.5914 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.857e-05/0.6291, allocations: 3.047 kB / 0.5914 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.674e-05/0.6292, allocations: 30.33 kB / 0.5914 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.6292, allocations: 0.7812 kB / 0.5914 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.6292, allocations: 0 / 0.5914 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.6292, allocations: 0.9062 kB / 0.5914 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.6294, allocations: 129.2 kB / 0.5915 GB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/0.6294, allocations: 23.3 kB / 0.5916 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.6295, allocations: 8.844 kB / 0.5916 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/0.63, allocations: 0.5603 MB / 0.5921 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.6301, allocations: 31.22 kB / 0.5922 GB, free: 6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6301, allocations: 0.5938 kB / 0.5922 GB, free: 6 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002016/0.6303, allocations: 34.78 kB / 0.5922 GB, free: 5.961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.6303, allocations: 55.41 kB / 0.5922 GB, free: 5.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.201e-05/0.6304, allocations: 85.5 kB / 0.5923 GB, free: 5.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.6304, allocations: 31.19 kB / 0.5924 GB, free: 5.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.6305, allocations: 80.14 kB / 0.5924 GB, free: 5.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.6305, allocations: 2.5 kB / 0.5924 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.6305, allocations: 0 / 0.5924 GB, free: 5.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.6307, allocations: 311.5 kB / 0.5927 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.6307, allocations: 5.406 kB / 0.5927 GB, free: 5.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.6307, allocations: 8.812 kB / 0.5927 GB, free: 5.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.104e-05/0.6308, allocations: 0.5625 kB / 0.5927 GB, free: 5.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6308, allocations: 1.875 kB / 0.5927 GB, free: 5.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.356e-05/0.6309, allocations: 39.88 kB / 0.5928 GB, free: 5.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6309, allocations: 4 kB / 0.5928 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6309, allocations: 0.5625 kB / 0.5928 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6309, allocations: 0 / 0.5928 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/0.631, allocations: 6.422 kB / 0.5928 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.631, allocations: 0.5312 kB / 0.5928 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.631, allocations: 5.531 kB / 0.5928 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.631, allocations: 0 / 0.5928 GB, free: 5.309 MB / 410.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.445e-05/0.6311, allocations: 106.8 kB / 0.5929 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.6311, allocations: 0 / 0.5929 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.6313, allocations: 45.98 kB / 0.5929 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6313, allocations: 2.375 kB / 0.5929 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.6313, allocations: 0.625 kB / 0.5929 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.6313, allocations: 4 kB / 0.593 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.6314, allocations: 126.2 kB / 0.5931 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6314, allocations: 0 / 0.5931 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.6315, allocations: 0.6875 kB / 0.5931 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.6315, allocations: 6.141 kB / 0.5931 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.6315, allocations: 4 kB / 0.5931 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6315, allocations: 0.75 kB / 0.5931 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6315, allocations: 1.953 kB / 0.5931 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.6316, allocations: 68.58 kB / 0.5932 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.6317, allocations: 77.11 kB / 0.5932 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.6317, allocations: 3.984 kB / 0.5932 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.6317, allocations: 0 / 0.5932 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.6317, allocations: 7.594 kB / 0.5932 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.6317, allocations: 0 / 0.5932 GB, free: 4.793 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.6318, allocations: 76.12 kB / 0.5933 GB, free: 4.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6318, allocations: 2.078 kB / 0.5933 GB, free: 4.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.632, allocations: 15.94 kB / 0.5933 GB, free: 4.703 MB / 410.7 MB 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 () * 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 (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.0001667/0.6322, allocations: 107.3 kB / 0.5934 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.288e-05/0.6323, allocations: 8 kB / 0.5934 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6323, allocations: 0 / 0.5934 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.566e-06/0.6323, allocations: 7.984 kB / 0.5934 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.6324, allocations: 5.547 kB / 0.5934 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.6326, allocations: 40.08 kB / 0.5935 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.6329, allocations: 0.673 MB / 0.5941 GB, free: 3.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.622e-05/0.6329, allocations: 8 kB / 0.5942 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.6329, allocations: 7.438 kB / 0.5942 GB, free: 3.797 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6329, allocations: 3.938 kB / 0.5942 GB, free: 3.793 MB / 410.7 MB Notification: Performance of Templates: time 0.001983/0.6349, allocations: 261.1 kB / 0.5944 GB, free: 3.562 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)