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.000907/0.000907, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001043/0.001043, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9996/0.9996, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.6497/0.6497, allocations: 115 MB / 375.7 MB, free: 7.656 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.174e-06/2.174e-06, allocations: 0 / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.21e-05, allocations: 2.312 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001691/0.001723, allocations: 0.6309 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.003387, allocations: 1.351 MB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.003417, allocations: 1.094 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.003443, allocations: 0 / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.003466, allocations: 1 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.003888, allocations: 86.81 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.00395, allocations: 24.86 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.003995, allocations: 6.641 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.004033, allocations: 14.8 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.004103, allocations: 6.938 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.00412, allocations: 1.812 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.004402, allocations: 111.7 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.004417, allocations: 6.281 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.004441, allocations: 9.984 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.004638, allocations: 89.8 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.004643, allocations: 1.281 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.004645, allocations: 0.625 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.00465, allocations: 0 / 483.9 MB, free: 10.41 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.0003875/0.005037, allocations: 381.9 kB / 484.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.005083, allocations: 10.41 kB / 484.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.005129, allocations: 12.12 kB / 484.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.325e-05/0.005203, allocations: 114.1 kB / 484.4 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.005215, allocations: 2.906 kB / 484.4 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.005251, allocations: 9.109 kB / 484.4 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.005378, allocations: 77.19 kB / 484.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.005389, allocations: 0.875 kB / 484.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.005403, allocations: 1.562 kB / 484.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.005411, allocations: 6.281 kB / 484.5 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.005464, allocations: 14.83 kB / 484.5 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.005585, allocations: 134.2 kB / 484.7 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.845e-05/0.005683, allocations: 62.08 kB / 484.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.005716, allocations: 17.38 kB / 484.7 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.00592, allocations: 40.33 kB / 484.8 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.00594, allocations: 38.72 kB / 484.8 MB, free: 9.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.005941, allocations: 1.938 kB / 484.8 MB, free: 9.555 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.01147/0.01741, allocations: 5.531 MB / 490.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.01744, allocations: 54.34 kB / 490.4 MB, free: 8.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.01749, allocations: 159.3 kB / 490.5 MB, free: 8.238 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.01754, allocations: 27.11 kB / 490.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.01774, allocations: 128.4 kB / 490.7 MB, free: 24.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.01783, allocations: 61.25 kB / 490.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.01802, allocations: 100.6 kB / 490.9 MB, free: 23.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01814, allocations: 496.9 kB / 491.3 MB, free: 23.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.01867, allocations: 465.4 kB / 491.8 MB, free: 23.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.01924, allocations: 465.6 kB / 492.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.02079, allocations: 1.072 MB / 493.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02079, allocations: 0 / 493.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001644/0.02243, allocations: 1.113 MB / 494.4 MB, free: 23.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.02245, allocations: 5.469 kB / 494.4 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02246, allocations: 4.656 kB / 494.4 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.02248, allocations: 5.031 kB / 494.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.02305, allocations: 94.05 kB / 494.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.02306, allocations: 1.156 kB / 494.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.02333, allocations: 4.844 kB / 494.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.02341, allocations: 38.91 kB / 494.6 MB, free: 23.11 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.0001649/0.02357, allocations: 165.2 kB / 494.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.02368, allocations: 17.89 kB / 494.8 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.02587, allocations: 1.335 MB / 496.1 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.02587, allocations: 7.984 kB / 496.1 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.02588, allocations: 0 / 496.1 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.02589, allocations: 3 kB / 496.1 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.02796, allocations: 1.625 MB / 497.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02796, allocations: 0 / 497.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.02849, allocations: 110.2 kB / 497.8 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.0285, allocations: 4 kB / 497.9 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.02856, allocations: 24 kB / 497.9 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.02856, allocations: 4 kB / 497.9 MB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.02856, allocations: 0 / 497.9 MB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.03023, allocations: 1.347 MB / 499.2 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.03025, allocations: 15.84 kB / 499.2 MB, free: 19.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.03031, allocations: 11 kB / 499.3 MB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.03061, allocations: 12 kB / 499.3 MB, free: 19.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.03073, allocations: 40.28 kB / 499.3 MB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.03079, allocations: 32 kB / 499.3 MB, free: 18.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.03084, allocations: 119.2 kB / 499.4 MB, free: 18.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03084, allocations: 0 / 499.4 MB, free: 18.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.0314, allocations: 189.7 kB / 499.6 MB, free: 18.66 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.0004548/0.03185, allocations: 253.8 kB / 499.9 MB, free: 18.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009958/0.03285, allocations: 0.8732 MB / 0.489 GB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.03285, allocations: 0 / 0.489 GB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.03332, allocations: 416 kB / 0.4894 GB, free: 17.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.03365, allocations: 39.19 kB / 0.4895 GB, free: 17.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.03581, allocations: 0.7651 MB / 0.4902 GB, free: 16.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.661e-05/0.03586, allocations: 72.78 kB / 0.4903 GB, free: 16.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007859/0.03664, allocations: 296.1 kB / 0.4906 GB, free: 16.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.03712, allocations: 90.83 kB / 0.4906 GB, free: 16.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03713, allocations: 0 / 0.4906 GB, free: 16.02 MB / 426.7 MB Notification: Performance of Templates: time 0.01628/0.05341, allocations: 12.26 MB / 0.5026 GB, free: 6.723 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.8539626728743315]