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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001278, allocations: 114 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 200.2 kB / 18.03 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7701/0.7701, allocations: 126.1 MB / 417.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.69 kB / 0.5738 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1405, allocations: 78.71 MB / 0.6507 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001634/0.1422, allocations: 0.6038 MB / 0.6512 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1439, allocations: 1.289 MB / 0.6525 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.1439, allocations: 0 / 0.6525 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.144, allocations: 3.938 kB / 0.6525 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.144, allocations: 4 kB / 0.6525 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.1444, allocations: 76.97 kB / 0.6526 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.1445, allocations: 23.92 kB / 0.6526 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.1446, allocations: 7.984 kB / 0.6526 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.1446, allocations: 4 kB / 0.6526 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/0.1447, allocations: 19.91 kB / 0.6526 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1447, allocations: 4 kB / 0.6526 GB, free: 2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.1449, allocations: 103.8 kB / 0.6527 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.145, allocations: 7.984 kB / 0.6527 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.145, allocations: 11.94 kB / 0.6528 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1452, allocations: 67.78 kB / 0.6528 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1452, allocations: 0 / 0.6528 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1452, allocations: 0 / 0.6528 GB, free: 1.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1452, allocations: 0 / 0.6528 GB, free: 1.812 MB / 494.1 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.0004561/0.1457, allocations: 355.3 kB / 0.6532 GB, free: 1.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1457, allocations: 8.031 kB / 0.6532 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1458, allocations: 4.938 kB / 0.6532 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1459, allocations: 168.3 kB / 0.6533 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1459, allocations: 4.375 kB / 0.6533 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1459, allocations: 4.375 kB / 0.6533 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.146, allocations: 53.98 kB / 0.6534 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1461, allocations: 3.938 kB / 0.6534 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1461, allocations: 11.94 kB / 0.6534 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1461, allocations: 0 / 0.6534 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.1462, allocations: 19.98 kB / 0.6534 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1463, allocations: 169.6 kB / 0.6536 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1465, allocations: 66.55 kB / 0.6537 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.1465, allocations: 20.86 kB / 0.6537 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.147, allocations: 0.5544 MB / 0.6542 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.147, allocations: 50.38 kB / 0.6543 GB, free: 48 kB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.147, allocations: 4 kB / 0.6543 GB, free: 44 kB / 494.1 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.01975/0.1668, allocations: 4.368 MB / 0.6585 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1668, allocations: 55.41 kB / 0.6586 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.652e-05/0.1669, allocations: 93.86 kB / 0.6587 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/0.167, allocations: 29.7 kB / 0.6587 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.167, allocations: 84.14 kB / 0.6588 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1671, allocations: 55.53 kB / 0.6588 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.1674, allocations: 93.66 kB / 0.6589 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.1675, allocations: 318.8 kB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.168, allocations: 315.8 kB / 0.6595 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.1686, allocations: 311.9 kB / 0.6598 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.1701, allocations: 0.7754 MB / 0.6606 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1701, allocations: 0 / 0.6606 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001579/0.1717, allocations: 0.8039 MB / 0.6614 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1717, allocations: 4 kB / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1717, allocations: 0 / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1718, allocations: 4 kB / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.1725, allocations: 91.95 kB / 0.6615 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1726, allocations: 3.984 kB / 0.6615 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.173, allocations: 4 kB / 0.6615 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.1731, allocations: 35.98 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB 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.0001882/0.1733, allocations: 129.7 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.1734, allocations: 7.953 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.1765, allocations: 1.396 MB / 0.663 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1765, allocations: 7.922 kB / 0.663 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1765, allocations: 0 / 0.663 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.1766, allocations: 96.95 kB / 0.6631 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.782e-05/0.1767, allocations: 4 kB / 0.6631 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.1771, allocations: 19.94 kB / 0.6631 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.1773, allocations: 39.95 kB / 0.6632 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001784/0.1791, allocations: 0.9927 MB / 0.6641 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002434/0.1815, allocations: 1.557 MB / 0.6657 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000591/0.1821, allocations: 427.9 kB / 0.6661 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.1821, allocations: 79.22 kB / 0.6661 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of Backend: time 4.41e-07/0.1822, allocations: 0 / 0.6661 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.1836, allocations: 0.5604 MB / 0.6667 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0007485/0.1843, allocations: 0.718 MB / 0.6674 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of Templates: time 0.01663/0.201, allocations: 11.47 MB / 0.6786 GB, free: 6.84 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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)