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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008058/0.0008059, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 184.1 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 240.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 115.5 MB / 407.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 12 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 77.54 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006567/0.1455, allocations: 346.3 kB / 0.5603 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.147, allocations: 1.275 MB / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.359e-05/0.147, allocations: 0 / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.147, allocations: 0 / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.067e-05/0.1471, allocations: 0 / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.1473, allocations: 55.88 kB / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.1474, allocations: 27.92 kB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1475, allocations: 0 / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.1475, allocations: 11.92 kB / 0.5616 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.1476, allocations: 15.92 kB / 0.5616 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1476, allocations: 4 kB / 0.5617 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.1478, allocations: 107.8 kB / 0.5618 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.1478, allocations: 0 / 0.5618 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1479, allocations: 41.62 kB / 0.5618 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.148, allocations: 67.84 kB / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.148, allocations: 0 / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.148, allocations: 0 / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.148, allocations: 4 kB / 0.5619 GB, free: 7.035 MB / 430.1 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.0004337/0.1485, allocations: 339.9 kB / 0.5622 GB, free: 6.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1485, allocations: 12.03 kB / 0.5622 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.1486, allocations: 4.844 kB / 0.5622 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1487, allocations: 164.3 kB / 0.5624 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1487, allocations: 4.375 kB / 0.5624 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1487, allocations: 8.375 kB / 0.5624 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1489, allocations: 65.91 kB / 0.5624 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1489, allocations: 0 / 0.5624 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1489, allocations: 7.984 kB / 0.5624 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1489, allocations: 0 / 0.5624 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.61e-05/0.149, allocations: 23.98 kB / 0.5625 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.1491, allocations: 157.7 kB / 0.5626 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1493, allocations: 62.55 kB / 0.5627 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/0.1493, allocations: 28.8 kB / 0.5627 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/0.1498, allocations: 0.5622 MB / 0.5633 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1498, allocations: 34.5 kB / 0.5633 GB, free: 5.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1498, allocations: 4 kB / 0.5633 GB, free: 5.285 MB / 430.1 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.02086/0.1707, allocations: 4.276 MB / 0.5675 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1708, allocations: 51.41 kB / 0.5675 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.1709, allocations: 93.86 kB / 0.5676 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.413e-05/0.1709, allocations: 29.7 kB / 0.5676 GB, free: 0.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.171, allocations: 80.14 kB / 0.5677 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1711, allocations: 59.19 kB / 0.5678 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1712, allocations: 21.83 kB / 0.5678 GB, free: 0.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1713, allocations: 326.8 kB / 0.5681 GB, free: 176 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.1719, allocations: 311.8 kB / 0.5684 GB, free: 15.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.1724, allocations: 311.9 kB / 0.5687 GB, free: 15.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.174, allocations: 0.7683 MB / 0.5694 GB, free: 14.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.174, allocations: 0 / 0.5694 GB, free: 14.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001617/0.1756, allocations: 0.8044 MB / 0.5702 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1757, allocations: 4 kB / 0.5702 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1757, allocations: 0 / 0.5702 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1757, allocations: 4 kB / 0.5702 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/0.1766, allocations: 99.94 kB / 0.5703 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1766, allocations: 0 / 0.5703 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.1772, allocations: 8 kB / 0.5703 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/0.1773, allocations: 31.98 kB / 0.5704 GB, free: 13.84 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.1776, allocations: 129.7 kB / 0.5705 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.1777, allocations: 4 kB / 0.5705 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.1812, allocations: 1.396 MB / 0.5719 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1812, allocations: 8 kB / 0.5719 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1812, allocations: 0 / 0.5719 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1813, allocations: 0 / 0.5719 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.1842, allocations: 1.821 MB / 0.5736 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1842, allocations: 0 / 0.5736 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/0.185, allocations: 115.9 kB / 0.5738 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1851, allocations: 4.031 kB / 0.5738 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.1851, allocations: 31.94 kB / 0.5738 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1851, allocations: 3.938 kB / 0.5738 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1852, allocations: 0 / 0.5738 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.1876, allocations: 1.465 MB / 0.5752 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.1876, allocations: 92.98 kB / 0.5753 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.1877, allocations: 7.938 kB / 0.5753 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.1883, allocations: 16.06 kB / 0.5753 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.1885, allocations: 51.88 kB / 0.5754 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.1885, allocations: 35.94 kB / 0.5754 GB, free: 8.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.094e-05/0.1886, allocations: 75.28 kB / 0.5755 GB, free: 8.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1886, allocations: 0 / 0.5755 GB, free: 8.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000598/0.1892, allocations: 176 kB / 0.5757 GB, free: 8.309 MB / 446.1 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 (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.0005045/0.1897, allocations: 227.8 kB / 0.5759 GB, free: 8.078 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.1909, allocations: 0.7262 MB / 0.5766 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.191, allocations: 3.938 kB / 0.5766 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.1916, allocations: 447.8 kB / 0.577 GB, free: 6.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.192, allocations: 17.5 kB / 0.577 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.1955, allocations: 0.8545 MB / 0.5779 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1958, allocations: 0.7145 MB / 0.5786 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001434/0.1972, allocations: 289.5 kB / 0.5788 GB, free: 4.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000558/0.1978, allocations: 95.41 kB / 0.5789 GB, free: 4.891 MB / 446.1 MB Notification: Performance of SimCode: time 2.765e-06/0.1978, allocations: 0 / 0.5789 GB, free: 4.891 MB / 446.1 MB Notification: Performance of Templates: time 0.2826/0.4804, allocations: 10.62 MB / 0.5893 GB, free: 31.45 MB / 446.1 MB 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)