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/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 293 MB / 309 MB, free: 4.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 188.1 kB / 378.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 0.6383 GB, free: 9.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007164/0.0007164, allocations: 98.72 kB / 0.7527 GB, free: 62.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006156/0.0006157, allocations: 16 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2606, allocations: 116.4 MB / 0.9905 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5777/0.8383, allocations: 139.4 MB / 1.127 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.8386, allocations: 81.92 kB / 1.127 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004179/0.8428, allocations: 1.667 MB / 1.128 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8428, allocations: 0.5312 kB / 1.128 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8428, allocations: 0.9688 kB / 1.128 GB, free: 33.28 MB / 0.7292 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.0001881/0.843, allocations: 331.1 kB / 1.129 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8431, allocations: 10.28 kB / 1.129 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.8431, allocations: 1.812 kB / 1.129 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.504e-05/0.8432, allocations: 165.4 kB / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.8432, allocations: 384 / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.8432, allocations: 4.375 kB / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.6e-05/0.8433, allocations: 29.02 kB / 1.129 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.8433, allocations: 192 / 1.129 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.8433, allocations: 7.547 kB / 1.129 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.8433, allocations: 3.938 kB / 1.129 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.8433, allocations: 9.297 kB / 1.129 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.8435, allocations: 141.7 kB / 1.129 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.8435, allocations: 19.48 kB / 1.129 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.8435, allocations: 12.95 kB / 1.129 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003248/0.8439, allocations: 0.5571 MB / 1.13 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.8439, allocations: 30.56 kB / 1.13 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.8439, allocations: 0 / 1.13 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.8441, allocations: 41.7 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.8441, allocations: 58.88 kB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.743e-05/0.8441, allocations: 93.86 kB / 1.13 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.8441, allocations: 25.7 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.07e-05/0.8441, allocations: 80.14 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.8442, allocations: 1.688 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8442, allocations: 0 / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.8442, allocations: 310.8 kB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/0.8442, allocations: 0 / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.8443, allocations: 8 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.8443, allocations: 8.859 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8443, allocations: 0 / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.854e-05/0.8443, allocations: 44.81 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8444, allocations: 4.562 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8444, allocations: 0 / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8444, allocations: 3.938 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.8445, allocations: 4.938 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.8445, allocations: 0 / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.8445, allocations: 4.094 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.8445, allocations: 0.75 kB / 1.13 GB, free: 30.99 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.8445, allocations: 109.8 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.8445, allocations: 0 / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.56e-05/0.8446, allocations: 52.66 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.8446, allocations: 0.5156 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8447, allocations: 4.031 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8447, allocations: 0.5625 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.768e-05/0.8447, allocations: 149.2 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8447, allocations: 0.5625 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.8448, allocations: 4.625 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8448, allocations: 0.9844 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.8448, allocations: 3.938 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8448, allocations: 4 kB / 1.131 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8448, allocations: 0 / 1.131 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.169e-05/0.8449, allocations: 61.55 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.8449, allocations: 77.61 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.8449, allocations: 7.938 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.8449, allocations: 0 / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.8449, allocations: 0 / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.8449, allocations: 0.625 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.514e-05/0.845, allocations: 79.22 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.845, allocations: 0 / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001913/0.8452, allocations: 15.61 kB / 1.131 GB, free: 30.35 MB / 0.7292 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 (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.0001274/0.8453, allocations: 104.2 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.588e-05/0.8454, allocations: 8 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8454, allocations: 0 / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.084e-06/0.8454, allocations: 4 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.8455, allocations: 0 / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.8457, allocations: 74.94 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.306e-05/0.8458, allocations: 0.6772 MB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.8458, allocations: 0.5469 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.8458, allocations: 7.438 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.8458, allocations: 0.8438 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.001936/0.8478, allocations: 285.5 kB / 1.132 GB, free: 29.25 MB / 0.7292 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)