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.524/1.524, allocations: 292.3 MB / 308.1 MB, free: 4.207 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.001296/0.001296, allocations: 196.3 kB / 376.9 MB, free: 1.777 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.397/1.397, allocations: 205.1 MB / 0.6354 GB, free: 9.77 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.0008931/0.0008927, allocations: 95.88 kB / 0.748 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2265, allocations: 114.6 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002385/0.2289, allocations: 0.6782 MB / 0.9829 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.231, allocations: 1.311 MB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.231, allocations: 4 kB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.231, allocations: 0 / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.058e-05/0.2311, allocations: 3.938 kB / 0.9842 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.2315, allocations: 55.88 kB / 0.9842 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.2315, allocations: 27.91 kB / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.2316, allocations: 4 kB / 0.9843 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2316, allocations: 7.984 kB / 0.9843 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.2317, allocations: 19.92 kB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.2317, allocations: 0 / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.232, allocations: 95.89 kB / 0.9844 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.232, allocations: 4 kB / 0.9844 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.232, allocations: 15.92 kB / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.2322, allocations: 63.84 kB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2322, allocations: 0 / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.12e-07/0.2322, allocations: 0 / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2322, allocations: 8 kB / 0.9845 GB, free: 8.043 MB / 0.7136 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.0005354/0.2327, allocations: 347.7 kB / 0.9848 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.2328, allocations: 19.95 kB / 0.9848 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.2329, allocations: 0.9375 kB / 0.9848 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.233, allocations: 164.4 kB / 0.985 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.2331, allocations: 4.375 kB / 0.985 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.2331, allocations: 4.375 kB / 0.985 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2333, allocations: 65.97 kB / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2333, allocations: 0 / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.2333, allocations: 0 / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2333, allocations: 3.938 kB / 0.9851 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.127e-05/0.2334, allocations: 27.98 kB / 0.9851 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.2337, allocations: 169.5 kB / 0.9852 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.2338, allocations: 58.62 kB / 0.9853 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.2339, allocations: 28.84 kB / 0.9853 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.2344, allocations: 0.5583 MB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2345, allocations: 34.5 kB / 0.9859 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2345, allocations: 0 / 0.9859 GB, free: 6.285 MB / 0.7136 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.01865/0.2532, allocations: 4.3 MB / 0.9901 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.2532, allocations: 55.41 kB / 0.9902 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.2533, allocations: 89.86 kB / 0.9902 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.2534, allocations: 33.7 kB / 0.9903 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.2534, allocations: 88.02 kB / 0.9904 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.2535, allocations: 55.11 kB / 0.9904 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.2538, allocations: 97.78 kB / 0.9905 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2539, allocations: 318.8 kB / 0.9908 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.2544, allocations: 311.9 kB / 0.9911 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.2549, allocations: 314.3 kB / 0.9914 GB, free: 464 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2563, allocations: 0.7508 MB / 0.9921 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2563, allocations: 0 / 0.9921 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001427/0.2577, allocations: 0.7926 MB / 0.9929 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2577, allocations: 4 kB / 0.9929 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2577, allocations: 320 / 0.9929 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2578, allocations: 8 kB / 0.9929 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.2585, allocations: 95.88 kB / 0.993 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2585, allocations: 0 / 0.993 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.259, allocations: 8 kB / 0.993 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.2591, allocations: 35.97 kB / 0.9931 GB, free: 14.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.2593, allocations: 117.8 kB / 0.9932 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.2594, allocations: 11.94 kB / 0.9932 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.2627, allocations: 1.396 MB / 0.9945 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2627, allocations: 4 kB / 0.9946 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2627, allocations: 0 / 0.9946 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2627, allocations: 0 / 0.9946 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.2656, allocations: 1.813 MB / 0.9963 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2656, allocations: 0 / 0.9963 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/0.2664, allocations: 107.9 kB / 0.9964 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.2664, allocations: 4 kB / 0.9964 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.2665, allocations: 31.94 kB / 0.9965 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.2665, allocations: 4 kB / 0.9965 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2665, allocations: 8.016 kB / 0.9965 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005127/0.2716, allocations: 3.039 MB / 0.9994 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.2717, allocations: 96.8 kB / 0.9995 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.2718, allocations: 8 kB / 0.9995 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.2723, allocations: 16.09 kB / 0.9996 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.2725, allocations: 39.97 kB / 0.9996 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.2726, allocations: 31.98 kB / 0.9996 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.2726, allocations: 79.28 kB / 0.9997 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2726, allocations: 0 / 0.9997 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006411/0.2733, allocations: 172 kB / 0.9999 GB, free: 7.555 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 (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.0004868/0.2737, allocations: 217.6 kB / 1 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.275, allocations: 0.734 MB / 1.001 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.275, allocations: 0 / 1.001 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.2757, allocations: 447.8 kB / 1.001 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.276, allocations: 22.42 kB / 1.001 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.2794, allocations: 1.072 MB / 1.002 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2798, allocations: 0.7337 MB / 1.003 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001376/0.2811, allocations: 289.5 kB / 1.003 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/0.2817, allocations: 95.41 kB / 1.003 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.2817, allocations: 4 kB / 1.003 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of Templates: time 0.01729/0.299, allocations: 11.19 MB / 1.014 GB, free: 8.664 MB / 0.7448 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)