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.0009887/0.0009887, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001101/0.001101, allocations: 169 kB / 24.25 MB, free: 308 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 1.21/1.21, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.692/0.692, allocations: 115 MB / 376 MB, free: 7.648 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.485e-06/2.485e-06, allocations: 0 / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/3.953e-05, allocations: 6 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001882/0.001921, allocations: 0.6336 MB / 482.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.003866, allocations: 1.349 MB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.003903, allocations: 0.5625 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.003925, allocations: 0.9375 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.615e-05/0.003951, allocations: 3.938 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.004392, allocations: 82.19 kB / 483.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.004465, allocations: 23.59 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.004513, allocations: 1.469 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.111e-05/0.004554, allocations: 17.62 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.216e-05/0.004637, allocations: 14.09 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.004652, allocations: 3.938 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.004919, allocations: 107.4 kB / 483.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.004936, allocations: 0.7812 kB / 483.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.004961, allocations: 16.78 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.005126, allocations: 93.41 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005129, allocations: 0 / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.00513, allocations: 0 / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.005137, allocations: 1.094 kB / 483.9 MB, free: 10.43 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.0003949/0.005531, allocations: 380.8 kB / 484.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.005575, allocations: 11.25 kB / 484.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.005624, allocations: 3.906 kB / 484.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.005706, allocations: 112.3 kB / 484.4 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.00572, allocations: 1.188 kB / 484.4 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.005747, allocations: 9.219 kB / 484.4 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005859, allocations: 77.89 kB / 484.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.00587, allocations: 192 / 484.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.005884, allocations: 4.75 kB / 484.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.005898, allocations: 4.875 kB / 484.5 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.544e-05/0.005954, allocations: 23.42 kB / 484.5 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.006099, allocations: 125.5 kB / 484.7 MB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006214, allocations: 58.97 kB / 484.7 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.006254, allocations: 26.95 kB / 484.7 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.006499, allocations: 32.2 kB / 484.8 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.006526, allocations: 42.08 kB / 484.8 MB, free: 9.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 3.277e-06/0.006529, allocations: 1 kB / 484.8 MB, free: 9.574 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.01326/0.01979, allocations: 5.537 MB / 490.4 MB, free: 8.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.01987, allocations: 55.98 kB / 490.4 MB, free: 8.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.01998, allocations: 151.6 kB / 490.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.02008, allocations: 31.7 kB / 490.6 MB, free: 8.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.02011, allocations: 128.9 kB / 490.7 MB, free: 8.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.02022, allocations: 61.16 kB / 490.8 MB, free: 8.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.02043, allocations: 95.22 kB / 490.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004088/0.02084, allocations: 0.4915 MB / 491.4 MB, free: 23.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.02141, allocations: 459.8 kB / 491.8 MB, free: 23.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.02199, allocations: 468.6 kB / 492.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.02346, allocations: 1.073 MB / 493.3 MB, free: 23.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.02346, allocations: 1.656 kB / 493.3 MB, free: 23.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001692/0.02515, allocations: 1.113 MB / 494.4 MB, free: 23.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.02519, allocations: 8.812 kB / 494.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.0252, allocations: 0 / 494.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.02523, allocations: 1.188 kB / 494.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.02575, allocations: 91.86 kB / 494.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.02576, allocations: 1.062 kB / 494.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.02598, allocations: 13.28 kB / 494.6 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.02605, allocations: 34.05 kB / 494.6 MB, free: 23.12 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.0001824/0.02623, allocations: 162.7 kB / 494.8 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.02634, allocations: 23.45 kB / 494.8 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.02849, allocations: 1.329 MB / 496.1 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.02849, allocations: 8 kB / 496.1 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.0285, allocations: 3.938 kB / 496.1 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.02851, allocations: 2.859 kB / 496.1 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.03029, allocations: 1.627 MB / 497.7 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.03029, allocations: 0 / 497.7 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.03068, allocations: 106.4 kB / 497.9 MB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.03069, allocations: 3.938 kB / 497.9 MB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.03074, allocations: 31.28 kB / 497.9 MB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.03074, allocations: 4 kB / 497.9 MB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.03074, allocations: 3.938 kB / 497.9 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.03213, allocations: 1.335 MB / 499.2 MB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.03215, allocations: 23.84 kB / 499.3 MB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.03221, allocations: 4 kB / 499.3 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.03244, allocations: 16.06 kB / 499.3 MB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.03255, allocations: 47 kB / 499.3 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.03259, allocations: 24 kB / 499.3 MB, free: 19.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.03263, allocations: 127.2 kB / 499.5 MB, free: 19.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03263, allocations: 0 / 499.5 MB, free: 19.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000488/0.03312, allocations: 190.2 kB / 499.7 MB, free: 18.99 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.0004221/0.03355, allocations: 240.4 kB / 499.9 MB, free: 18.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.0344, allocations: 0.8691 MB / 0.489 GB, free: 17.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.0344, allocations: 4.094 kB / 0.489 GB, free: 17.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.03477, allocations: 421.6 kB / 0.4894 GB, free: 17.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.03503, allocations: 36 kB / 0.4895 GB, free: 17.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.03675, allocations: 0.7605 MB / 0.4902 GB, free: 16.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.0368, allocations: 80.11 kB / 0.4903 GB, free: 16.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006271/0.03743, allocations: 288.9 kB / 0.4906 GB, free: 16.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/0.03781, allocations: 98.77 kB / 0.4906 GB, free: 16.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.044e-06/0.03782, allocations: 0 / 0.4906 GB, free: 16.36 MB / 426.7 MB Notification: Performance of Templates: time 0.01522/0.05304, allocations: 12.25 MB / 0.5026 GB, free: 7.055 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.917292977916077]