Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 176.5 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6142/0.6142, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 348.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000861/0.000861, allocations: 94.56 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 16 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3447, allocations: 71.02 MB / 0.5595 GB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4776, allocations: 100.7 MB / 0.6578 GB, free: 8.816 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4779, allocations: 87.94 kB / 0.6579 GB, free: 8.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007128/0.4851, allocations: 2.39 MB / 0.6602 GB, free: 6.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4851, allocations: 3.938 kB / 0.6602 GB, free: 6.336 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4851, allocations: 4 kB / 0.6602 GB, free: 6.332 MB / 474.7 MB 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.0003795/0.4855, allocations: 347.5 kB / 0.6606 GB, free: 5.941 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4855, allocations: 12.03 kB / 0.6606 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.4856, allocations: 4.844 kB / 0.6606 GB, free: 5.926 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.4857, allocations: 172.3 kB / 0.6607 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4857, allocations: 4.375 kB / 0.6607 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4858, allocations: 4.375 kB / 0.6608 GB, free: 5.711 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.4859, allocations: 50.23 kB / 0.6608 GB, free: 5.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4859, allocations: 4.188 kB / 0.6608 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4859, allocations: 3.938 kB / 0.6608 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4859, allocations: 0 / 0.6608 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.486, allocations: 23.98 kB / 0.6608 GB, free: 5.625 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.4862, allocations: 161.7 kB / 0.661 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.4864, allocations: 74.47 kB / 0.6611 GB, free: 5.336 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.4864, allocations: 24.86 kB / 0.6611 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.4869, allocations: 0.5505 MB / 0.6616 GB, free: 4.629 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.487, allocations: 38.56 kB / 0.6617 GB, free: 4.582 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.487, allocations: 4 kB / 0.6617 GB, free: 4.578 MB / 474.7 MB 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.01727/0.5043, allocations: 4.202 MB / 0.6658 GB, free: 232 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.5043, allocations: 51.41 kB / 0.6658 GB, free: 168 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.5044, allocations: 93.86 kB / 0.6659 GB, free: 64 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.5045, allocations: 29.7 kB / 0.6659 GB, free: 28 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.5046, allocations: 80.14 kB / 0.666 GB, free: 15.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.5047, allocations: 51.27 kB / 0.6661 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.5047, allocations: 0 / 0.6661 GB, free: 15.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5049, allocations: 330.9 kB / 0.6664 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.5053, allocations: 303.9 kB / 0.6667 GB, free: 15.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.5058, allocations: 317.7 kB / 0.667 GB, free: 14.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.5072, allocations: 0.7521 MB / 0.6677 GB, free: 14.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5072, allocations: 0 / 0.6677 GB, free: 14.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001445/0.5087, allocations: 0.7826 MB / 0.6685 GB, free: 13.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5087, allocations: 8 kB / 0.6685 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5087, allocations: 0 / 0.6685 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5088, allocations: 3.984 kB / 0.6685 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.5095, allocations: 95.89 kB / 0.6686 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5095, allocations: 4 kB / 0.6686 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.5099, allocations: 8 kB / 0.6686 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.51, allocations: 39.97 kB / 0.6686 GB, free: 13.26 MB / 490.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 () * 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.0001799/0.5102, allocations: 121.7 kB / 0.6687 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.5103, allocations: 3.906 kB / 0.6687 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/0.5135, allocations: 1.388 MB / 0.6701 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5135, allocations: 4 kB / 0.6701 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5135, allocations: 4 kB / 0.6701 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5135, allocations: 11.91 kB / 0.6701 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.5164, allocations: 1.794 MB / 0.6719 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5164, allocations: 0 / 0.6719 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000736/0.5171, allocations: 107.9 kB / 0.672 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.5172, allocations: 4.031 kB / 0.672 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.5172, allocations: 28 kB / 0.672 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.5173, allocations: 11.92 kB / 0.672 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5173, allocations: 0 / 0.672 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.5195, allocations: 1.457 MB / 0.6734 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.5196, allocations: 100.8 kB / 0.6735 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.5197, allocations: 11.98 kB / 0.6735 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.5201, allocations: 16 kB / 0.6735 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.5203, allocations: 43.97 kB / 0.6736 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.5203, allocations: 28 kB / 0.6736 GB, free: 8.008 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.5204, allocations: 79.28 kB / 0.6737 GB, free: 7.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5204, allocations: 0 / 0.6737 GB, free: 7.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006457/0.521, allocations: 207.7 kB / 0.6739 GB, free: 7.727 MB / 490.7 MB 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.000556/0.5216, allocations: 259.4 kB / 0.6741 GB, free: 7.465 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.5228, allocations: 0.7243 MB / 0.6748 GB, free: 6.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5228, allocations: 0 / 0.6748 GB, free: 6.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.5235, allocations: 451.8 kB / 0.6753 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.5238, allocations: 16 kB / 0.6753 GB, free: 6.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.5267, allocations: 0.8467 MB / 0.6761 GB, free: 5.406 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.527, allocations: 0.7145 MB / 0.6768 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00149/0.5285, allocations: 293.5 kB / 0.6771 GB, free: 4.383 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.529, allocations: 95.41 kB / 0.6772 GB, free: 4.289 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/0.529, allocations: 0 / 0.6772 GB, free: 4.289 MB / 490.7 MB Notification: Performance of Templates: time 0.01557/0.5446, allocations: 10.35 MB / 0.6873 GB, free: 9.98 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)