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.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.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.1-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 293 MB / 309 MB, free: 4.777 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.001003/0.001003, allocations: 171.4 kB / 378.7 MB, free: 1.023 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.465/1.465, allocations: 205.4 MB / 0.6383 GB, free: 8.133 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.0007838/0.0007839, allocations: 94.31 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003821, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.224, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5721/0.7962, allocations: 139.7 MB / 1.127 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.7964, allocations: 76.11 kB / 1.127 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00586/0.8023, allocations: 2.351 MB / 1.129 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8023, allocations: 2.094 kB / 1.129 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.8023, allocations: 4.562 kB / 1.129 GB, free: 32.43 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.00027/0.8026, allocations: 351.3 kB / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.8026, allocations: 13.25 kB / 1.13 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.8027, allocations: 5.469 kB / 1.13 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.376e-05/0.8027, allocations: 167.7 kB / 1.13 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.8027, allocations: 12.59 kB / 1.13 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.8028, allocations: 11.22 kB / 1.13 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.8029, allocations: 53.19 kB / 1.13 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.8029, allocations: 4.188 kB / 1.13 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.8029, allocations: 3.938 kB / 1.13 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.8029, allocations: 0 / 1.13 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.803, allocations: 19.52 kB / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.8031, allocations: 169.1 kB / 1.13 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.8032, allocations: 66.08 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.8032, allocations: 28.47 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.8035, allocations: 0.5496 MB / 1.131 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.8036, allocations: 34.78 kB / 1.131 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.8036, allocations: 0 / 1.131 GB, free: 30.72 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.01549/0.8191, allocations: 4.195 MB / 1.135 GB, free: 27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.8191, allocations: 55.41 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.8192, allocations: 97.09 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.8192, allocations: 25.7 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.8193, allocations: 80.14 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.8193, allocations: 55.69 kB / 1.135 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.8194, allocations: 7.938 kB / 1.135 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.8194, allocations: 330.3 kB / 1.135 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.8199, allocations: 306.7 kB / 1.136 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.8203, allocations: 312.8 kB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.8215, allocations: 0.7545 MB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-06/0.8215, allocations: 0 / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001235/0.8228, allocations: 0.7886 MB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.8228, allocations: 4 kB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8228, allocations: 1.125 kB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8228, allocations: 1.219 kB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.8235, allocations: 97.39 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.8236, allocations: 8 kB / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.824, allocations: 8 kB / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.8241, allocations: 31.23 kB / 1.138 GB, free: 24.22 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.0001446/0.8242, allocations: 125.1 kB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.8243, allocations: 7.906 kB / 1.138 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.8271, allocations: 1.385 MB / 1.139 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.8271, allocations: 9.625 kB / 1.139 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8272, allocations: 0 / 1.139 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.8272, allocations: 3.234 kB / 1.139 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.8294, allocations: 1.793 MB / 1.141 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8294, allocations: 0.5 kB / 1.141 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.8301, allocations: 106.9 kB / 1.141 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8301, allocations: 8.031 kB / 1.141 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.8302, allocations: 29.52 kB / 1.141 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.8302, allocations: 7.938 kB / 1.141 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8302, allocations: 0.7812 kB / 1.141 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.8321, allocations: 1.45 MB / 1.142 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.8322, allocations: 94.44 kB / 1.143 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.8322, allocations: 13.41 kB / 1.143 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.8327, allocations: 16 kB / 1.143 GB, free: 19.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.8328, allocations: 45.09 kB / 1.143 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.8329, allocations: 25.36 kB / 1.143 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.682e-05/0.8329, allocations: 79.94 kB / 1.143 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8329, allocations: 0 / 1.143 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005157/0.8334, allocations: 209.5 kB / 1.143 GB, free: 19.23 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.0004319/0.8339, allocations: 256.2 kB / 1.143 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.8349, allocations: 0.7305 MB / 1.144 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8349, allocations: 0 / 1.144 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.8354, allocations: 447.2 kB / 1.144 GB, free: 17.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.8357, allocations: 25.98 kB / 1.144 GB, free: 17.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.8385, allocations: 0.8544 MB / 1.145 GB, free: 17.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.8387, allocations: 0.7152 MB / 1.146 GB, free: 16.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001403/0.8401, allocations: 299 kB / 1.146 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.8406, allocations: 87.64 kB / 1.146 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.8406, allocations: 0 / 1.146 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.01598/0.8565, allocations: 10.37 MB / 1.156 GB, free: 10.31 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)