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.001179/0.001179, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002037/0.003216, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002529, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9349/0.9349, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08161/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 230.9 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.003165, allocations: 483.3 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7087/0.7087, allocations: 138.7 MB / 384.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07437/0.7831, allocations: 42.41 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.363e-06/1.363e-06, allocations: 0 / 428.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.355e-05, allocations: 2.312 kB / 428.1 MB, free: 4.414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001842/0.001866, allocations: 0.6782 MB / 428.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003423, allocations: 1.349 MB / 430.2 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.003444, allocations: 0 / 430.2 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.816e-06/0.003453, allocations: 7.938 kB / 430.2 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.306e-06/0.003461, allocations: 4 kB / 430.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.003759, allocations: 75.59 kB / 430.2 MB, free: 2.281 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.00382, allocations: 19.92 kB / 430.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.003862, allocations: 4 kB / 430.3 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.003921, allocations: 23.91 kB / 430.3 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.004, allocations: 7.984 kB / 430.3 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.004014, allocations: 0 / 430.3 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.004311, allocations: 123.8 kB / 430.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.004327, allocations: 11.94 kB / 430.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.004343, allocations: 4 kB / 430.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.004513, allocations: 71.88 kB / 430.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.004525, allocations: 0 / 430.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004526, allocations: 0 / 430.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.004538, allocations: 0 / 430.5 MB, free: 2.02 MB / 410.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.0004049/0.004943, allocations: 268.4 kB / 430.8 MB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.00498, allocations: 11.98 kB / 430.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.005016, allocations: 8.922 kB / 430.8 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.229e-05/0.005108, allocations: 113.7 kB / 430.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005121, allocations: 12.36 kB / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.005149, allocations: 4.375 kB / 430.9 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.00525, allocations: 75.92 kB / 431 MB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.005261, allocations: 4.188 kB / 431 MB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005269, allocations: 384 / 431 MB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005277, allocations: 3.938 kB / 431 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.005322, allocations: 15.98 kB / 431 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.005432, allocations: 69.05 kB / 431.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.28e-05/0.005525, allocations: 50.56 kB / 431.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.005554, allocations: 16.86 kB / 431.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.005749, allocations: 39.97 kB / 431.2 MB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.005773, allocations: 30.56 kB / 431.2 MB, free: 1.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.005774, allocations: 4 kB / 431.2 MB, free: 1.211 MB / 410.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.2078/0.2136, allocations: 8.663 MB / 439.9 MB, free: 1.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.2136, allocations: 57.84 kB / 439.9 MB, free: 1.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.582e-05/0.2137, allocations: 99.16 kB / 440 MB, free: 1.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.686e-05/0.2138, allocations: 31.77 kB / 440.1 MB, free: 1.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.15e-05/0.2138, allocations: 82.8 kB / 440.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.2139, allocations: 58.03 kB / 440.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.2141, allocations: 67.78 kB / 440.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.2142, allocations: 319.5 kB / 440.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.2147, allocations: 0.6669 MB / 441.3 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.2151, allocations: 0.669 MB / 441.9 MB, free: 64 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.2196, allocations: 1.809 MB / 443.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2196, allocations: 4.656 kB / 443.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001204/0.2208, allocations: 1.427 MB / 445.2 MB, free: 13.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2208, allocations: 4 kB / 445.2 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2208, allocations: 0 / 445.2 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2208, allocations: 0 / 445.2 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.2216, allocations: 131.4 kB / 445.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2216, allocations: 0.6562 kB / 445.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.2219, allocations: 20.27 kB / 445.3 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.2219, allocations: 16.91 kB / 445.3 MB, free: 13.83 MB / 426.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.000239/0.2222, allocations: 117.7 kB / 445.4 MB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.2223, allocations: 13.03 kB / 445.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.2257, allocations: 1.974 MB / 447.4 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2257, allocations: 8.656 kB / 447.4 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2257, allocations: 4 kB / 447.4 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2257, allocations: 3.984 kB / 447.4 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.2278, allocations: 1.863 MB / 449.3 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2278, allocations: 0 / 449.3 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.2286, allocations: 201.9 kB / 449.5 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.2286, allocations: 41.55 kB / 449.5 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2286, allocations: 4 kB / 449.6 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.2287, allocations: 21.3 kB / 449.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2287, allocations: 4 kB / 449.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2287, allocations: 0.5469 kB / 449.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.2302, allocations: 1.654 MB / 451.2 MB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-05/0.2303, allocations: 14.88 kB / 451.2 MB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.2306, allocations: 25.69 kB / 451.3 MB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.2308, allocations: 53.27 kB / 451.3 MB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.2308, allocations: 19.53 kB / 451.3 MB, free: 8.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.234e-05/0.2309, allocations: 8.797 kB / 451.3 MB, free: 8.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2309, allocations: 0 / 451.3 MB, free: 8.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004795/0.2313, allocations: 259.4 kB / 451.6 MB, free: 8.316 MB / 426.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 (89): * Single equations (assignments): 89 * 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.000404/0.2317, allocations: 244.2 kB / 451.8 MB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.2328, allocations: 1.245 MB / 453.1 MB, free: 6.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.2328, allocations: 4.625 kB / 453.1 MB, free: 6.855 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.2333, allocations: 0.6146 MB / 453.7 MB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2336, allocations: 51.78 kB / 453.8 MB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.2359, allocations: 1.108 MB / 454.9 MB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.2359, allocations: 114.6 kB / 455 MB, free: 5.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00152/0.2375, allocations: 0.6976 MB / 455.7 MB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.2385, allocations: 134.2 kB / 455.8 MB, free: 4.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2385, allocations: 0 / 455.8 MB, free: 4.27 MB / 426.7 MB Notification: Performance of Templates: time 0.02563/0.2641, allocations: 26 MB / 481.8 MB, free: 10.6 MB / 458.7 MB " [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.594323994591832]