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.002179/0.002179, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002826/0.002826, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.643/1.643, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 1.054/1.054, allocations: 115 MB / 375.3 MB, free: 7.59 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 1.793e-06/1.793e-06, allocations: 0.6562 kB / 480.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.023e-05, allocations: 2.312 kB / 480.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001474/0.001504, allocations: 0.6142 MB / 481.5 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003007, allocations: 1.324 MB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.003032, allocations: 1.75 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.003046, allocations: 0 / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.003074, allocations: 3.938 kB / 482.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.003469, allocations: 85.95 kB / 482.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.003548, allocations: 24.08 kB / 482.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.003595, allocations: 3.984 kB / 482.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.003646, allocations: 19.44 kB / 482.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.003733, allocations: 12.88 kB / 482.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.003752, allocations: 0 / 482.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.004075, allocations: 107.4 kB / 483 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.004096, allocations: 13.58 kB / 483.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.004123, allocations: 6.281 kB / 483.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.004346, allocations: 93.81 kB / 483.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004349, allocations: 0 / 483.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004349, allocations: 0 / 483.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.004355, allocations: 1.344 kB / 483.2 MB, free: 10.34 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.0005534/0.004908, allocations: 386.6 kB / 483.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.004965, allocations: 9.312 kB / 483.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.005029, allocations: 4.594 kB / 483.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.005129, allocations: 109.2 kB / 483.6 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.005146, allocations: 8.031 kB / 483.7 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.00518, allocations: 3.219 kB / 483.7 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.005338, allocations: 75.23 kB / 483.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.005355, allocations: 5.406 kB / 483.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.005369, allocations: 5.281 kB / 483.7 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.005377, allocations: 4.625 kB / 483.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.00548, allocations: 23.59 kB / 483.8 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.005642, allocations: 127.6 kB / 483.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.005787, allocations: 61.05 kB / 484 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.005838, allocations: 25.88 kB / 484 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.006139, allocations: 40.22 kB / 484 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.00617, allocations: 39.11 kB / 484.1 MB, free: 9.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 3.576e-06/0.006174, allocations: 2.219 kB / 484.1 MB, free: 9.477 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.02122/0.0274, allocations: 6.014 MB / 490.1 MB, free: 8.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.02744, allocations: 53.69 kB / 490.1 MB, free: 8.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.02756, allocations: 156.2 kB / 490.3 MB, free: 7.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.02762, allocations: 25.7 kB / 490.3 MB, free: 7.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.02766, allocations: 128.1 kB / 490.4 MB, free: 7.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.02779, allocations: 61.94 kB / 490.5 MB, free: 7.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.02809, allocations: 101 kB / 490.6 MB, free: 7.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000441/0.02853, allocations: 0.4908 MB / 491.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008305/0.02936, allocations: 0.5485 MB / 491.6 MB, free: 23.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.03014, allocations: 0.5534 MB / 492.2 MB, free: 23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.03215, allocations: 1.276 MB / 493.5 MB, free: 22.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.03215, allocations: 0 / 493.5 MB, free: 22.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002136/0.03429, allocations: 1.306 MB / 494.8 MB, free: 22.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.03431, allocations: 8.125 kB / 494.8 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.03431, allocations: 0 / 494.8 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.03434, allocations: 1.094 kB / 494.8 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.03524, allocations: 91.92 kB / 494.9 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.03525, allocations: 1.781 kB / 494.9 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.0358, allocations: 13.17 kB / 494.9 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/0.03589, allocations: 35.36 kB / 494.9 MB, free: 22.47 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.0002299/0.03612, allocations: 169.6 kB / 495.1 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.03627, allocations: 14.2 kB / 495.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.03919, allocations: 1.51 MB / 496.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.0392, allocations: 7.422 kB / 496.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0392, allocations: 0 / 496.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.03921, allocations: 0 / 496.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.04183, allocations: 1.85 MB / 498.5 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.04183, allocations: 0 / 498.5 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.04262, allocations: 113.5 kB / 498.6 MB, free: 19.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.04262, allocations: 4.031 kB / 498.6 MB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.04269, allocations: 24 kB / 498.6 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.04269, allocations: 8 kB / 498.6 MB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.0427, allocations: 2.953 kB / 498.6 MB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.0448, allocations: 1.694 MB / 0.4886 GB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.04482, allocations: 15.84 kB / 0.4886 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.04491, allocations: 8 kB / 0.4886 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.04544, allocations: 12 kB / 0.4886 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.04559, allocations: 44.12 kB / 0.4887 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.04566, allocations: 34.81 kB / 0.4887 GB, free: 17.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.685e-05/0.04573, allocations: 127.2 kB / 0.4888 GB, free: 17.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04573, allocations: 0 / 0.4888 GB, free: 17.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005888/0.04632, allocations: 189.6 kB / 0.489 GB, free: 17.03 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.0005071/0.04683, allocations: 251.2 kB / 0.4892 GB, free: 16.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.04804, allocations: 1.036 MB / 0.4902 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.04805, allocations: 7.938 kB / 0.4902 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.0486, allocations: 490 kB / 0.4907 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.04893, allocations: 39.09 kB / 0.4908 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.0526, allocations: 0.8553 MB / 0.4916 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.0527, allocations: 103 kB / 0.4917 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001077/0.05378, allocations: 295.5 kB / 0.492 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.05434, allocations: 90.78 kB / 0.4921 GB, free: 14.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.05434, allocations: 0 / 0.4921 GB, free: 14.03 MB / 426.7 MB Notification: Performance of Templates: time 0.02223/0.07658, allocations: 12.26 MB / 0.504 GB, free: 4.895 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: 5.9793099369853735]