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.0009837/0.0009837, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009609/0.0009609, allocations: 177 kB / 23.5 MB, free: 1.051 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.9949/0.9949, allocations: 177.1 MB / 203.8 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.002573/0.002573, allocations: 237.5 kB / 260.5 MB, free: 12.89 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.7688/0.7688, allocations: 138.4 MB / 455.4 MB, free: 1.496 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.854e-06/1.854e-06, allocations: 0 / 0.5551 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.998e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001881/0.00191, allocations: 0.6225 MB / 0.5557 GB, free: 148 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.003738, allocations: 1.353 MB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.003767, allocations: 0 / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.003787, allocations: 7.938 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.329e-05/0.00381, allocations: 0 / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.004245, allocations: 83.59 kB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.004314, allocations: 19.98 kB / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.004357, allocations: 7.922 kB / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.004398, allocations: 15.98 kB / 0.5572 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.004475, allocations: 11.97 kB / 0.5572 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.004491, allocations: 0 / 0.5572 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.004793, allocations: 103.9 kB / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.004811, allocations: 15.92 kB / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.004836, allocations: 11.92 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.005041, allocations: 91.75 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005044, allocations: 0 / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005045, allocations: 0 / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.00505, allocations: 0 / 0.5574 GB, free: 14.41 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.0005077/0.005557, allocations: 380.5 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.005605, allocations: 8.75 kB / 0.5578 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.00566, allocations: 8.938 kB / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.81e-05/0.005758, allocations: 104.6 kB / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.005774, allocations: 12.31 kB / 0.5579 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.005803, allocations: 4.375 kB / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.005939, allocations: 79.88 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.00595, allocations: 192 / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.005962, allocations: 4.375 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.005974, allocations: 7.938 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.641e-05/0.006041, allocations: 15.98 kB / 0.558 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.006204, allocations: 132.5 kB / 0.5581 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.006331, allocations: 67.05 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.006374, allocations: 23.67 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.006611, allocations: 35.97 kB / 0.5582 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.006642, allocations: 37.39 kB / 0.5583 GB, free: 13.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.006643, allocations: 0 / 0.5583 GB, free: 13.38 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.0164/0.02305, allocations: 5.537 MB / 0.5637 GB, free: 7.734 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.02308, allocations: 55.41 kB / 0.5637 GB, free: 7.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.02317, allocations: 157.9 kB / 0.5639 GB, free: 7.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.02323, allocations: 33.64 kB / 0.5639 GB, free: 7.457 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.02327, allocations: 126.9 kB / 0.564 GB, free: 7.328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.02338, allocations: 59.48 kB / 0.5641 GB, free: 7.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.02362, allocations: 95.33 kB / 0.5642 GB, free: 7.168 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.02375, allocations: 0.4884 MB / 0.5647 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.02436, allocations: 459.9 kB / 0.5651 GB, free: 6.219 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.02498, allocations: 463.9 kB / 0.5655 GB, free: 5.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.02668, allocations: 1.077 MB / 0.5666 GB, free: 4.688 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.02669, allocations: 4.125 kB / 0.5666 GB, free: 4.684 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001795/0.02848, allocations: 1.111 MB / 0.5677 GB, free: 3.566 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.0285, allocations: 4 kB / 0.5677 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.02851, allocations: 0 / 0.5677 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.02852, allocations: 0 / 0.5677 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.02911, allocations: 99.88 kB / 0.5678 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.02911, allocations: 0 / 0.5678 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.02943, allocations: 4 kB / 0.5678 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/0.02952, allocations: 39.97 kB / 0.5678 GB, free: 3.422 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.0001902/0.02971, allocations: 160.6 kB / 0.568 GB, free: 3.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.02985, allocations: 23.89 kB / 0.568 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.03262, allocations: 1.325 MB / 0.5693 GB, free: 1.902 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.03263, allocations: 8 kB / 0.5693 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.03263, allocations: 4 kB / 0.5693 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.03264, allocations: 3.984 kB / 0.5693 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.03521, allocations: 1.619 MB / 0.5709 GB, free: 224 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03521, allocations: 0 / 0.5709 GB, free: 224 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.03559, allocations: 111.9 kB / 0.571 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.03559, allocations: 4 kB / 0.571 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.03563, allocations: 24 kB / 0.571 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.03564, allocations: 4 kB / 0.571 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03564, allocations: 0 / 0.571 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.03762, allocations: 1.34 MB / 0.5723 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.03764, allocations: 15.84 kB / 0.5723 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.03773, allocations: 16.06 kB / 0.5724 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.03811, allocations: 12 kB / 0.5724 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.03827, allocations: 39.95 kB / 0.5724 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.03833, allocations: 35.98 kB / 0.5724 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.03838, allocations: 119.2 kB / 0.5726 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.03838, allocations: 0 / 0.5726 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006383/0.03902, allocations: 183.6 kB / 0.5727 GB, free: 14.3 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.0005508/0.03957, allocations: 262.3 kB / 0.573 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.04095, allocations: 0.8744 MB / 0.5738 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.04095, allocations: 4 kB / 0.5738 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006163/0.04157, allocations: 416 kB / 0.5742 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.04195, allocations: 41.19 kB / 0.5743 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.04454, allocations: 0.7552 MB / 0.575 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.854e-05/0.0446, allocations: 73.34 kB / 0.5751 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009597/0.04556, allocations: 301.5 kB / 0.5754 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.04611, allocations: 92.47 kB / 0.5755 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/0.04611, allocations: 0 / 0.5755 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.01304/0.05915, allocations: 12.29 MB / 0.5875 GB, free: 15.23 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.894817965105176]