Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009236/0.0009236, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009316/0.0009316, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9827/0.9827, allocations: 177.1 MB / 204.6 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.126/2.126, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7753 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.471e-05, allocations: 5.406 kB / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001425/0.00145, allocations: 0.6799 MB / 0.7759 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.002754, allocations: 1.357 MB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.002775, allocations: 0 / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.00279, allocations: 3.938 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.083e-05/0.00281, allocations: 0.875 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.003106, allocations: 65.44 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.003159, allocations: 28.28 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.003196, allocations: 3.984 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.003234, allocations: 17.08 kB / 0.7774 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.003298, allocations: 13.28 kB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.00331, allocations: 4 kB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.00354, allocations: 116.5 kB / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.003553, allocations: 9.359 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.003567, allocations: 8.75 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.003698, allocations: 96.48 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003701, allocations: 0 / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003702, allocations: 0 / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.003707, allocations: 7.984 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB 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.0002774/0.003984, allocations: 240.5 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.004014, allocations: 9.344 kB / 0.7778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.004045, allocations: 12.92 kB / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.004118, allocations: 109.7 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.004128, allocations: 384 / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.00415, allocations: 20.5 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/0.004228, allocations: 75.92 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.004236, allocations: 192 / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.004242, allocations: 4.375 kB / 0.7781 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004248, allocations: 3.938 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.004287, allocations: 23.97 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.156e-05/0.004369, allocations: 65.05 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.112e-05/0.00444, allocations: 50.62 kB / 0.7782 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.004461, allocations: 20.8 kB / 0.7782 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.004606, allocations: 42.73 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.004629, allocations: 30.56 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.00463, allocations: 0 / 0.7783 GB, free: 2.172 MB / 0.7292 GB 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.01011/0.01474, allocations: 4.701 MB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.01477, allocations: 59.39 kB / 0.7829 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.01482, allocations: 95.69 kB / 0.783 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.01488, allocations: 33.7 kB / 0.7831 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.0149, allocations: 81.11 kB / 0.7831 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.01498, allocations: 59.47 kB / 0.7832 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.01512, allocations: 41.66 kB / 0.7832 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.01519, allocations: 323.8 kB / 0.7835 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.01545, allocations: 315.9 kB / 0.7838 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.01571, allocations: 312 kB / 0.7841 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.01658, allocations: 0.8006 MB / 0.7849 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01659, allocations: 4 kB / 0.7849 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007951/0.01738, allocations: 0.7405 MB / 0.7856 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.0174, allocations: 11.94 kB / 0.7857 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01741, allocations: 0.7188 kB / 0.7857 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01742, allocations: 0 / 0.7857 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.01781, allocations: 56.7 kB / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.01781, allocations: 4 kB / 0.7857 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.01799, allocations: 4.75 kB / 0.7857 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.01803, allocations: 15.97 kB / 0.7857 GB, free: 10.48 MB / 0.7448 GB 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.0001604/0.01819, allocations: 110.6 kB / 0.7858 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.01827, allocations: 20.47 kB / 0.7859 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.01979, allocations: 0.9736 MB / 0.7868 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.0198, allocations: 4 kB / 0.7868 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.0198, allocations: 0 / 0.7868 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.0198, allocations: 7.984 kB / 0.7868 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.02101, allocations: 0.9646 MB / 0.7878 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.02101, allocations: 7.969 kB / 0.7878 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.02139, allocations: 75.89 kB / 0.7878 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.02139, allocations: 0 / 0.7878 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.02143, allocations: 12 kB / 0.7879 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.02143, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02143, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.02254, allocations: 0.8729 MB / 0.7887 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.02255, allocations: 15.91 kB / 0.7887 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.02261, allocations: 11.98 kB / 0.7887 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.02279, allocations: 12 kB / 0.7887 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.02288, allocations: 23.98 kB / 0.7888 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.02292, allocations: 8 kB / 0.7888 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.839e-06/0.02293, allocations: 8.859 kB / 0.7888 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02293, allocations: 0 / 0.7888 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003802/0.02331, allocations: 187.6 kB / 0.789 GB, free: 7.172 MB / 0.7448 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.0003602/0.02367, allocations: 239.9 kB / 0.7892 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005529/0.02422, allocations: 0.567 MB / 0.7897 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02422, allocations: 0 / 0.7897 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.02447, allocations: 256.8 kB / 0.79 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.02464, allocations: 19.94 kB / 0.79 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.02604, allocations: 0.5179 MB / 0.7905 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.02608, allocations: 77.34 kB / 0.7906 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006493/0.02673, allocations: 293.5 kB / 0.7909 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.02728, allocations: 87.36 kB / 0.791 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.02728, allocations: 0 / 0.791 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.0135/0.04078, allocations: 12.95 MB / 0.8036 GB, free: 8.156 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.298049772623926]