Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.565/0.565, allocations: 94.78 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001131/0.001131, allocations: 179.8 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.565/1.565, allocations: 170.6 MB / 319.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001699/0.001698, allocations: 121.4 kB / 381.4 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.634e-05, allocations: 8 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1685, allocations: 61.52 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.6317, allocations: 93.3 MB / 0.5898 GB, free: 8.652 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.632, allocations: 76.66 kB / 0.5899 GB, free: 8.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005731/0.6378, allocations: 1.754 MB / 0.5916 GB, free: 6.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6378, allocations: 0.8125 kB / 0.5916 GB, free: 6.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.6378, allocations: 0 / 0.5916 GB, free: 6.859 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003205/0.6382, allocations: 339.7 kB / 0.5919 GB, free: 6.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.6382, allocations: 12.02 kB / 0.5919 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.6383, allocations: 0.5312 kB / 0.5919 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.6384, allocations: 164.3 kB / 0.5921 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.6384, allocations: 2.578 kB / 0.5921 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.6385, allocations: 5.312 kB / 0.5921 GB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.817e-05/0.6385, allocations: 2.234 kB / 0.5921 GB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.659e-05/0.6386, allocations: 30.45 kB / 0.5921 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6386, allocations: 3.078 kB / 0.5921 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.6386, allocations: 0 / 0.5921 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6387, allocations: 3.984 kB / 0.5921 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.6388, allocations: 134.6 kB / 0.5922 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.6389, allocations: 25.11 kB / 0.5923 GB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.6389, allocations: 5.422 kB / 0.5923 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/0.6395, allocations: 0.5638 MB / 0.5928 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6395, allocations: 35.72 kB / 0.5929 GB, free: 5.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6395, allocations: 0 / 0.5929 GB, free: 5.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006811/0.6402, allocations: 250.3 kB / 0.5931 GB, free: 5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.6403, allocations: 60.98 kB / 0.5932 GB, free: 4.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.667e-05/0.6403, allocations: 89 kB / 0.5932 GB, free: 4.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.6404, allocations: 25.7 kB / 0.5933 GB, free: 4.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.6404, allocations: 80.83 kB / 0.5933 GB, free: 4.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.6405, allocations: 5.781 kB / 0.5933 GB, free: 4.719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.6405, allocations: 2.188 kB / 0.5934 GB, free: 4.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6407, allocations: 315.7 kB / 0.5937 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.6407, allocations: 4 kB / 0.5937 GB, free: 4.398 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.6407, allocations: 14.78 kB / 0.5937 GB, free: 4.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.6408, allocations: 16.42 kB / 0.5937 GB, free: 4.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6408, allocations: 0.7188 kB / 0.5937 GB, free: 4.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.6409, allocations: 54.28 kB / 0.5937 GB, free: 4.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6409, allocations: 4.75 kB / 0.5937 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.641, allocations: 0 / 0.5937 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.641, allocations: 4.938 kB / 0.5937 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.6411, allocations: 4.688 kB / 0.5938 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.6411, allocations: 0 / 0.5938 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.6411, allocations: 8.703 kB / 0.5938 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.6411, allocations: 1.25 kB / 0.5938 GB, free: 4.285 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000102/0.6412, allocations: 105 kB / 0.5939 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.6412, allocations: 4 kB / 0.5939 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.6414, allocations: 59.2 kB / 0.5939 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6415, allocations: 0.625 kB / 0.5939 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6415, allocations: 0 / 0.5939 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6415, allocations: 5.25 kB / 0.5939 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.6416, allocations: 138.2 kB / 0.5941 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.6416, allocations: 1.125 kB / 0.5941 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.6417, allocations: 8.188 kB / 0.5941 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6417, allocations: 4 kB / 0.5941 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6417, allocations: 0.6562 kB / 0.5941 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6417, allocations: 0 / 0.5941 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.6417, allocations: 5.344 kB / 0.5941 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.6419, allocations: 76.98 kB / 0.5942 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.642, allocations: 81.14 kB / 0.5942 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.642, allocations: 0 / 0.5942 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.642, allocations: 1.688 kB / 0.5942 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.6421, allocations: 13.05 kB / 0.5942 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.6421, allocations: 4 kB / 0.5942 GB, free: 3.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.494e-05/0.6421, allocations: 79.28 kB / 0.5943 GB, free: 3.633 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6421, allocations: 0 / 0.5943 GB, free: 3.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000219/0.6424, allocations: 23.94 kB / 0.5943 GB, free: 3.609 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002856/0.6426, allocations: 127.2 kB / 0.5945 GB, free: 3.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.6428, allocations: 8 kB / 0.5945 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6428, allocations: 4.125 kB / 0.5945 GB, free: 3.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.6428, allocations: 15.94 kB / 0.5945 GB, free: 3.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.643, allocations: 11.88 kB / 0.5945 GB, free: 3.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.6433, allocations: 65.22 kB / 0.5946 GB, free: 3.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.6438, allocations: 0.6768 MB / 0.5952 GB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.6439, allocations: 8 kB / 0.5952 GB, free: 2.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.6439, allocations: 11.44 kB / 0.5952 GB, free: 2.645 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6439, allocations: 0 / 0.5952 GB, free: 2.645 MB / 410.7 MB Notification: Performance of Templates: time 0.003354/0.6473, allocations: 0.5408 MB / 0.5958 GB, free: 2.141 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)