Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001766/0.001767, allocations: 189 kB / 377.1 MB, free: 1.5 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.67/1.67, allocations: 205.4 MB / 0.6367 GB, free: 8.605 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.0009479/0.0009477, allocations: 91.2 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003594, allocations: 12 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 116.3 MB / 0.9884 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6478/0.9415, allocations: 139.6 MB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.9418, allocations: 83.19 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006616/0.9485, allocations: 2.343 MB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9485, allocations: 2.25 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.9485, allocations: 0 / 1.127 GB, free: 33.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002839/0.9488, allocations: 354.9 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.9488, allocations: 8.031 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.9489, allocations: 14.97 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.902e-05/0.949, allocations: 159.1 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.949, allocations: 6.391 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.949, allocations: 4 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.9491, allocations: 56.36 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9492, allocations: 0.8125 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.9492, allocations: 0 / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9492, allocations: 11.88 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.9493, allocations: 20.12 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.9494, allocations: 175.5 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.9495, allocations: 53.95 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.9498, allocations: 0.5578 MB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.9499, allocations: 38.56 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.9499, allocations: 0 / 1.128 GB, free: 31.67 MB / 0.7292 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01813/0.968, allocations: 4.191 MB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.9681, allocations: 55.34 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/0.9681, allocations: 89 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.9682, allocations: 29.7 kB / 1.133 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.429e-05/0.9682, allocations: 80.27 kB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.9683, allocations: 61.56 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.9684, allocations: 0 / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.9684, allocations: 322.2 kB / 1.133 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.9688, allocations: 310.5 kB / 1.133 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.9692, allocations: 309.6 kB / 1.134 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.9699, allocations: 380.7 kB / 1.134 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.9699, allocations: 3.938 kB / 1.134 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001251/0.9711, allocations: 0.792 MB / 1.135 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9712, allocations: 4 kB / 1.135 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9712, allocations: 4 kB / 1.135 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.9712, allocations: 4 kB / 1.135 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.9719, allocations: 93.53 kB / 1.135 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.9719, allocations: 1.016 kB / 1.135 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.9724, allocations: 4.938 kB / 1.135 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/0.9725, allocations: 39.08 kB / 1.135 GB, free: 25.55 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 (18): * Single equations (assignments): 18 * 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 0.0001594/0.9727, allocations: 117.8 kB / 1.135 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.9727, allocations: 9.031 kB / 1.135 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.9757, allocations: 1.394 MB / 1.137 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.9757, allocations: 5.031 kB / 1.137 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.9757, allocations: 0 / 1.137 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9757, allocations: 7.422 kB / 1.137 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.9781, allocations: 1.803 MB / 1.138 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9781, allocations: 0.5 kB / 1.138 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.9788, allocations: 103.1 kB / 1.138 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9789, allocations: 0 / 1.138 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.628e-05/0.9789, allocations: 32.12 kB / 1.138 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.9789, allocations: 3.953 kB / 1.138 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9789, allocations: 4 kB / 1.138 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.9808, allocations: 1.464 MB / 1.14 GB, free: 21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.9808, allocations: 102.6 kB / 1.14 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.9809, allocations: 12.45 kB / 1.14 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.9814, allocations: 12 kB / 1.14 GB, free: 20.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.9815, allocations: 35.03 kB / 1.14 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.9816, allocations: 36.36 kB / 1.14 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.672e-05/0.9816, allocations: 75.75 kB / 1.14 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9816, allocations: 0 / 1.14 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005406/0.9822, allocations: 214.9 kB / 1.14 GB, free: 20.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.000541/0.9827, allocations: 255.3 kB / 1.141 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.9838, allocations: 0.7197 MB / 1.141 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9838, allocations: 0.8438 kB / 1.141 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.9843, allocations: 451.9 kB / 1.142 GB, free: 19.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.9845, allocations: 8 kB / 1.142 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.9874, allocations: 0.8508 MB / 1.143 GB, free: 18.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.9876, allocations: 0.722 MB / 1.143 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00136/0.989, allocations: 292 kB / 1.144 GB, free: 17.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.9895, allocations: 95.17 kB / 1.144 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/0.9895, allocations: 4 kB / 1.144 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.01829/1.008, allocations: 10.1 MB / 1.153 GB, free: 11.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)