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.001171/0.001171, allocations: 106 kB / 16.4 MB, free: 6.465 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.001005/0.001005, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7927/0.7927, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.31 kB / 0.5685 GB, free: 28.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1733, allocations: 77.94 MB / 0.6446 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001807/0.1751, allocations: 0.5961 MB / 0.6452 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1768, allocations: 1.287 MB / 0.6465 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.1769, allocations: 0 / 0.6465 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.1769, allocations: 4 kB / 0.6465 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.177, allocations: 7.875 kB / 0.6465 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1774, allocations: 79.72 kB / 0.6466 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.1775, allocations: 19.92 kB / 0.6466 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1775, allocations: 4 kB / 0.6466 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.1776, allocations: 8 kB / 0.6466 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.1776, allocations: 15.92 kB / 0.6466 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1777, allocations: 4 kB / 0.6466 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.1779, allocations: 103.9 kB / 0.6467 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.1779, allocations: 7.984 kB / 0.6467 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.178, allocations: 11.92 kB / 0.6467 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1781, allocations: 67.8 kB / 0.6468 GB, free: 6.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1782, allocations: 0 / 0.6468 GB, free: 6.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1782, allocations: 0 / 0.6468 GB, free: 6.719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1782, allocations: 0 / 0.6468 GB, free: 6.719 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.0004618/0.1786, allocations: 351.3 kB / 0.6471 GB, free: 6.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1787, allocations: 12.62 kB / 0.6472 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1787, allocations: 4.938 kB / 0.6472 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1789, allocations: 168.3 kB / 0.6473 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1789, allocations: 4.375 kB / 0.6473 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1789, allocations: 8.375 kB / 0.6473 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1791, allocations: 57.98 kB / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1791, allocations: 0 / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1791, allocations: 0 / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.1791, allocations: 0 / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.1792, allocations: 27.92 kB / 0.6474 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.1794, allocations: 173.6 kB / 0.6476 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1795, allocations: 66.48 kB / 0.6476 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.1795, allocations: 24.86 kB / 0.6477 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004713/0.18, allocations: 0.5583 MB / 0.6482 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.18, allocations: 38.5 kB / 0.6482 GB, free: 4.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.1801, allocations: 0 / 0.6482 GB, free: 4.953 MB / 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.01929/0.1994, allocations: 4.382 MB / 0.6525 GB, free: 424 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1994, allocations: 51.41 kB / 0.6526 GB, free: 360 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.1995, allocations: 93.86 kB / 0.6527 GB, free: 256 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.1996, allocations: 29.7 kB / 0.6527 GB, free: 220 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.1996, allocations: 84.14 kB / 0.6528 GB, free: 132 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1997, allocations: 55.53 kB / 0.6528 GB, free: 76 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.2, allocations: 89.67 kB / 0.6529 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2001, allocations: 322.8 kB / 0.6532 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.2006, allocations: 311.8 kB / 0.6535 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.2012, allocations: 308 kB / 0.6538 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.2027, allocations: 0.783 MB / 0.6546 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2027, allocations: 0 / 0.6546 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001576/0.2043, allocations: 0.7966 MB / 0.6554 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2043, allocations: 8 kB / 0.6554 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2043, allocations: 0 / 0.6554 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2044, allocations: 0 / 0.6554 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.2052, allocations: 95.88 kB / 0.6555 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2052, allocations: 0 / 0.6555 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.2057, allocations: 12 kB / 0.6555 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.2058, allocations: 31.98 kB / 0.6555 GB, free: 13.32 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.0001769/0.206, allocations: 117.8 kB / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.2061, allocations: 11.94 kB / 0.6556 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.2093, allocations: 1.403 MB / 0.657 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2093, allocations: 4 kB / 0.657 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2093, allocations: 4 kB / 0.657 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2093, allocations: 0 / 0.657 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.2123, allocations: 1.814 MB / 0.6588 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2123, allocations: 0 / 0.6588 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.213, allocations: 103.9 kB / 0.6589 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2131, allocations: 0 / 0.6589 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.2131, allocations: 35.94 kB / 0.6589 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2131, allocations: 4.031 kB / 0.6589 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2132, allocations: 4 kB / 0.6589 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.2157, allocations: 1.463 MB / 0.6603 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2158, allocations: 92.95 kB / 0.6604 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.2159, allocations: 15.88 kB / 0.6604 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.2164, allocations: 12 kB / 0.6605 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.2166, allocations: 48.02 kB / 0.6605 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.2167, allocations: 32 kB / 0.6605 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.2167, allocations: 79.28 kB / 0.6606 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2167, allocations: 0 / 0.6606 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006469/0.2174, allocations: 175.7 kB / 0.6608 GB, free: 7.801 MB / 0.4981 GB 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.000579/0.218, allocations: 230.7 kB / 0.661 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.2193, allocations: 0.7261 MB / 0.6617 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2193, allocations: 96 / 0.6617 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.2199, allocations: 459.7 kB / 0.6621 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2203, allocations: 17.69 kB / 0.6622 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.2236, allocations: 0.801 MB / 0.6629 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2239, allocations: 0.722 MB / 0.6636 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001043/0.225, allocations: 293.6 kB / 0.6639 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/0.2255, allocations: 95.34 kB / 0.664 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.2255, allocations: 0 / 0.664 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of Templates: time 0.01608/0.2416, allocations: 11.24 MB / 0.675 GB, free: 9.207 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)