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.001785/0.001785, allocations: 84.73 kB / 19.44 MB, free: 348 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.002638/0.002638, allocations: 165.7 kB / 22.76 MB, free: 1.672 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 1.456/1.456, allocations: 177.2 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.002708/0.002708, allocations: 231.1 kB / 259.8 MB, free: 12.84 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 1.069/1.069, allocations: 138.4 MB / 454.7 MB, free: 1.461 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.322e-06/1.322e-06, allocations: 0 / 0.5544 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.362e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001804/0.001828, allocations: 0.6155 MB / 0.555 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.0039, allocations: 1.311 MB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.003921, allocations: 0 / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.003932, allocations: 0 / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.685e-05/0.003959, allocations: 3.938 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.004365, allocations: 83.59 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.004427, allocations: 23.97 kB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.097e-05/0.004458, allocations: 3.984 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.004493, allocations: 11.98 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.004566, allocations: 23.91 kB / 0.5564 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.004584, allocations: 4 kB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.004884, allocations: 107.8 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.004898, allocations: 3.984 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.004924, allocations: 7.984 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.005112, allocations: 87.7 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.005117, allocations: 4 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005118, allocations: 0 / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.005121, allocations: 4 kB / 0.5566 GB, free: 14.47 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.0004554/0.005576, allocations: 282.1 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.005612, allocations: 8.75 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.005658, allocations: 4.938 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.00578, allocations: 109.8 kB / 0.557 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.005791, allocations: 384 / 0.557 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.00582, allocations: 4.375 kB / 0.557 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005973, allocations: 87.91 kB / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.005983, allocations: 192 / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005993, allocations: 384 / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.006004, allocations: 7.938 kB / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.006075, allocations: 27.91 kB / 0.5571 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.006248, allocations: 121.3 kB / 0.5573 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.006378, allocations: 54.56 kB / 0.5573 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.006423, allocations: 16.86 kB / 0.5573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.00669, allocations: 39.95 kB / 0.5574 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.006729, allocations: 34.56 kB / 0.5574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.00673, allocations: 0 / 0.5574 GB, free: 13.57 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.02134/0.02807, allocations: 4.188 MB / 0.5615 GB, free: 9.289 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.02812, allocations: 51.41 kB / 0.5615 GB, free: 9.227 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.02841, allocations: 93.86 kB / 0.5616 GB, free: 9.125 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.63e-05/0.0285, allocations: 29.7 kB / 0.5616 GB, free: 9.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.02855, allocations: 80.14 kB / 0.5617 GB, free: 9.008 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.0287, allocations: 63.47 kB / 0.5618 GB, free: 8.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.02897, allocations: 93.78 kB / 0.5619 GB, free: 8.848 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.02915, allocations: 318.8 kB / 0.5622 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00062/0.02977, allocations: 307.9 kB / 0.5625 GB, free: 8.227 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.03036, allocations: 311.9 kB / 0.5628 GB, free: 7.922 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.0321, allocations: 0.7695 MB / 0.5635 GB, free: 7.152 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.0321, allocations: 0 / 0.5635 GB, free: 7.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001822/0.03392, allocations: 0.8136 MB / 0.5643 GB, free: 6.332 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.03394, allocations: 8 kB / 0.5643 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.03394, allocations: 0.5469 kB / 0.5643 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.03396, allocations: 0 / 0.5643 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.03472, allocations: 87.95 kB / 0.5644 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.03473, allocations: 8 kB / 0.5644 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.03519, allocations: 8 kB / 0.5644 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/0.03528, allocations: 39.91 kB / 0.5645 GB, free: 6.184 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.0002209/0.03551, allocations: 121.8 kB / 0.5646 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.03565, allocations: 11.89 kB / 0.5646 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.03916, allocations: 1.399 MB / 0.566 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.03917, allocations: 4 kB / 0.566 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.03918, allocations: 3.984 kB / 0.566 GB, free: 4.633 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.03919, allocations: 3.984 kB / 0.566 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.04241, allocations: 1.672 MB / 0.5676 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.04242, allocations: 3.938 kB / 0.5676 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.04319, allocations: 107.9 kB / 0.5677 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.04319, allocations: 0 / 0.5677 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.04327, allocations: 32 kB / 0.5677 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.04328, allocations: 4.031 kB / 0.5677 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.04328, allocations: 0 / 0.5677 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.0463, allocations: 1.474 MB / 0.5692 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.04633, allocations: 15.84 kB / 0.5692 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.04642, allocations: 8 kB / 0.5692 GB, free: 1.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.04692, allocations: 12 kB / 0.5692 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.04709, allocations: 43.94 kB / 0.5693 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.04717, allocations: 32 kB / 0.5693 GB, free: 1.164 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.04722, allocations: 79.22 kB / 0.5694 GB, free: 1.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04722, allocations: 160 / 0.5694 GB, free: 1.086 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006356/0.04785, allocations: 191.6 kB / 0.5695 GB, free: 0.8984 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 (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.0006075/0.04846, allocations: 242.8 kB / 0.5698 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.0499, allocations: 0.7145 MB / 0.5705 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.04991, allocations: 0 / 0.5705 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.05065, allocations: 408.2 kB / 0.5709 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.051, allocations: 36 kB / 0.5709 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.05442, allocations: 0.7898 MB / 0.5717 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.05453, allocations: 103.4 kB / 0.5718 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001141/0.05567, allocations: 297.5 kB / 0.5721 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/0.05629, allocations: 88.47 kB / 0.5721 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.05629, allocations: 0 / 0.5721 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.02147/0.07776, allocations: 12.04 MB / 0.5839 GB, free: 2.234 MB / 0.4948 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.690957844955847]