Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009998/0.0009998, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9215/0.9215, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001626/0.001626, allocations: 245 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6987/0.6987, allocations: 138.4 MB / 455.2 MB, free: 1.5 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5552 GB, free: 448 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.844e-05, allocations: 2.312 kB / 0.5552 GB, free: 444 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00155/0.001568, allocations: 0.6313 MB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.003492, allocations: 1.345 MB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.00352, allocations: 0 / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.003545, allocations: 11.88 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.003569, allocations: 4 kB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.004036, allocations: 83.59 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.004106, allocations: 19.97 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.004145, allocations: 4 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.004195, allocations: 23.91 kB / 0.5572 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.00427, allocations: 7.984 kB / 0.5573 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.004286, allocations: 0 / 0.5573 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.004596, allocations: 103.9 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.004613, allocations: 19.91 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.004636, allocations: 7.938 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.004826, allocations: 91.75 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004828, allocations: 0 / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004829, allocations: 0 / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004832, allocations: 0 / 0.5575 GB, free: 14.07 MB / 490.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.0004645/0.005297, allocations: 380.5 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.005344, allocations: 12.75 kB / 0.5578 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.005396, allocations: 4.938 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.005496, allocations: 108.6 kB / 0.5579 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.005514, allocations: 8.375 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.005542, allocations: 4.312 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.005671, allocations: 75.94 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.005683, allocations: 192 / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005695, allocations: 4.312 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.005705, allocations: 7.938 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.005769, allocations: 19.98 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.005933, allocations: 124.5 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.006061, allocations: 67.05 kB / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.006105, allocations: 31.67 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.006355, allocations: 35.97 kB / 0.5583 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.006384, allocations: 37.39 kB / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.006386, allocations: 0 / 0.5583 GB, free: 13.03 MB / 490.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.01299/0.01938, allocations: 5.546 MB / 0.5638 GB, free: 7.387 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.01941, allocations: 55.41 kB / 0.5638 GB, free: 7.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.01947, allocations: 153.9 kB / 0.564 GB, free: 7.152 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.01953, allocations: 33.7 kB / 0.564 GB, free: 7.113 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.01955, allocations: 126.9 kB / 0.5641 GB, free: 6.984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.01967, allocations: 55.48 kB / 0.5642 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.01984, allocations: 95.33 kB / 0.5643 GB, free: 6.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.01995, allocations: 0.4961 MB / 0.5647 GB, free: 6.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.02043, allocations: 459.9 kB / 0.5652 GB, free: 5.871 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.02083, allocations: 459.9 kB / 0.5656 GB, free: 5.422 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.02194, allocations: 1.085 MB / 0.5667 GB, free: 4.336 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.02194, allocations: 0 / 0.5667 GB, free: 4.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0013/0.02324, allocations: 1.107 MB / 0.5678 GB, free: 3.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.02326, allocations: 4 kB / 0.5678 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.02326, allocations: 0 / 0.5678 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.02327, allocations: 3.984 kB / 0.5678 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.02366, allocations: 91.89 kB / 0.5679 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.02367, allocations: 4 kB / 0.5679 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.02387, allocations: 8 kB / 0.5679 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.02392, allocations: 35.97 kB / 0.5679 GB, free: 3.078 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.02407, allocations: 168.6 kB / 0.5681 GB, free: 2.902 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.02415, allocations: 11.89 kB / 0.5681 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.02589, allocations: 1.333 MB / 0.5694 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.02589, allocations: 4 kB / 0.5694 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.0259, allocations: 0 / 0.5694 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.0259, allocations: 3.984 kB / 0.5694 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.02788, allocations: 1.63 MB / 0.571 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02788, allocations: 0 / 0.571 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.02825, allocations: 111.9 kB / 0.5711 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02826, allocations: 0 / 0.5711 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.0283, allocations: 28 kB / 0.5711 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02831, allocations: 0 / 0.5711 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.02831, allocations: 4 kB / 0.5711 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.02974, allocations: 1.336 MB / 0.5724 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.02975, allocations: 19.84 kB / 0.5724 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.02981, allocations: 8.062 kB / 0.5724 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.03001, allocations: 12 kB / 0.5725 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.03012, allocations: 43.95 kB / 0.5725 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.03017, allocations: 35.98 kB / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.0302, allocations: 119.2 kB / 0.5726 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0302, allocations: 0 / 0.5726 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003862/0.03058, allocations: 183.6 kB / 0.5728 GB, free: 13.95 MB / 0.4948 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.0003616/0.03094, allocations: 246.7 kB / 0.5731 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000839/0.03178, allocations: 0.8822 MB / 0.5739 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.03178, allocations: 0 / 0.5739 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.03216, allocations: 419.9 kB / 0.5743 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.03238, allocations: 36 kB / 0.5744 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.03401, allocations: 0.7513 MB / 0.5751 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.03406, allocations: 81.33 kB / 0.5752 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005923/0.03465, allocations: 297.5 kB / 0.5754 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.03505, allocations: 96.47 kB / 0.5755 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.03505, allocations: 0 / 0.5755 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.01288/0.04793, allocations: 13.04 MB / 0.5883 GB, free: 14.12 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8441130127757788]