Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001501/0.001501, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001662/0.001662, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.484/1.484, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9723/0.9723, allocations: 115 MB / 375.3 MB, free: 7.582 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0.5312 kB / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.756e-05, allocations: 3.062 kB / 480.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001392/0.001419, allocations: 0.6213 MB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.002911, allocations: 1.306 MB / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.002938, allocations: 0 / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.002952, allocations: 4.969 kB / 482.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.002982, allocations: 0 / 482.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.003367, allocations: 90.94 kB / 482.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.003421, allocations: 19.94 kB / 482.9 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.003453, allocations: 8.641 kB / 482.9 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.003489, allocations: 17.2 kB / 482.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.003556, allocations: 10.53 kB / 482.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.003573, allocations: 2.438 kB / 482.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.003827, allocations: 112.4 kB / 483 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.00384, allocations: 0.7188 kB / 483 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.003867, allocations: 14.12 kB / 483 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.004028, allocations: 90.61 kB / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004031, allocations: 0.9062 kB / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004032, allocations: 0 / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.004035, allocations: 0 / 483.1 MB, free: 10.5 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.0003676/0.004402, allocations: 280.6 kB / 483.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.004438, allocations: 11.56 kB / 483.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.004484, allocations: 2.156 kB / 483.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.68e-05/0.004551, allocations: 112.9 kB / 483.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.004565, allocations: 1.875 kB / 483.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.004595, allocations: 10.22 kB / 483.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.00472, allocations: 71.84 kB / 483.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.004732, allocations: 0.8438 kB / 483.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004742, allocations: 5.938 kB / 483.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.004748, allocations: 13.14 kB / 483.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.554e-05/0.004813, allocations: 18.22 kB / 483.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.004933, allocations: 119.3 kB / 483.8 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.005046, allocations: 61.77 kB / 483.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.005088, allocations: 27.81 kB / 483.8 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.005339, allocations: 36.27 kB / 483.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.005361, allocations: 36.38 kB / 483.9 MB, free: 9.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.005363, allocations: 1.25 kB / 483.9 MB, free: 9.773 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.01931/0.02468, allocations: 4.157 MB / 488.1 MB, free: 8.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.0247, allocations: 53.62 kB / 488.1 MB, free: 8.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.02477, allocations: 95.34 kB / 488.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.02484, allocations: 27.7 kB / 488.3 MB, free: 8.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.02501, allocations: 85.17 kB / 488.3 MB, free: 24.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.02512, allocations: 61.25 kB / 488.4 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.02537, allocations: 89.77 kB / 488.5 MB, free: 23.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.0255, allocations: 322.9 kB / 488.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.02598, allocations: 311.9 kB / 489.1 MB, free: 23.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.02646, allocations: 309.6 kB / 489.4 MB, free: 23.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.0279, allocations: 0.7753 MB / 490.2 MB, free: 23.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.0279, allocations: 0 / 490.2 MB, free: 23.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001518/0.02942, allocations: 0.805 MB / 491 MB, free: 22.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.02944, allocations: 11.81 kB / 491 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.02945, allocations: 2.938 kB / 491 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.02947, allocations: 1.188 kB / 491 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.03026, allocations: 97.28 kB / 491.1 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.03027, allocations: 1.375 kB / 491.1 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.03075, allocations: 5.031 kB / 491.1 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.03084, allocations: 34.59 kB / 491.1 MB, free: 22.71 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.0001998/0.03104, allocations: 120.4 kB / 491.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.03118, allocations: 19.36 kB / 491.3 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.03421, allocations: 1.4 MB / 492.7 MB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.03421, allocations: 3.562 kB / 492.7 MB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.03422, allocations: 1.281 kB / 492.7 MB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.03422, allocations: 7.188 kB / 492.7 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.03694, allocations: 1.656 MB / 494.3 MB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.03694, allocations: 8.031 kB / 494.3 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.03771, allocations: 115.7 kB / 494.5 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.03772, allocations: 1.906 kB / 494.5 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/0.03779, allocations: 24.94 kB / 494.5 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.03779, allocations: 2.219 kB / 494.5 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.0378, allocations: 8.516 kB / 494.5 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.04016, allocations: 1.488 MB / 496 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.04018, allocations: 22.19 kB / 496 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.04027, allocations: 6.094 kB / 496 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.04076, allocations: 10.47 kB / 496 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.04093, allocations: 49.5 kB / 496.1 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.04101, allocations: 26.59 kB / 496.1 MB, free: 20.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.871e-05/0.04107, allocations: 80.53 kB / 496.2 MB, free: 20.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04107, allocations: 0 / 496.2 MB, free: 20.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006435/0.04171, allocations: 188.1 kB / 496.4 MB, free: 20.05 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 (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.0005359/0.04225, allocations: 241.2 kB / 496.6 MB, free: 19.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.04347, allocations: 0.715 MB / 497.3 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.04347, allocations: 1.125 kB / 497.3 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.04417, allocations: 406.2 kB / 497.7 MB, free: 19.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.04456, allocations: 33.81 kB / 497.7 MB, free: 19.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.04767, allocations: 0.7941 MB / 498.5 MB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.746e-05/0.04775, allocations: 109.1 kB / 498.6 MB, free: 19.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.04879, allocations: 296.3 kB / 498.9 MB, free: 18.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/0.04938, allocations: 93.55 kB / 499 MB, free: 18.85 MB / 426.7 MB Notification: Performance of SimCode: time 9.31e-07/0.04938, allocations: 0 / 499 MB, free: 18.85 MB / 426.7 MB Notification: Performance of Templates: time 0.02047/0.06985, allocations: 12 MB / 0.499 GB, free: 10.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8084127539768815]