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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5156/0.5156, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 354.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000992/0.000992, allocations: 107.7 kB / 427.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005692/0.0005694, allocations: 12 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1808, allocations: 72.32 MB / 0.5689 GB, free: 1.879 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5571/0.738, allocations: 102.1 MB / 0.6686 GB, free: 2.344 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.7383, allocations: 87.94 kB / 0.6687 GB, free: 2.258 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007219/0.7455, allocations: 2.422 MB / 0.671 GB, free: 15.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7456, allocations: 0 / 0.671 GB, free: 15.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.7456, allocations: 0 / 0.671 GB, free: 15.85 MB / 474.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.0003388/0.7459, allocations: 359.8 kB / 0.6714 GB, free: 15.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.746, allocations: 8.031 kB / 0.6714 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.746, allocations: 3.953 kB / 0.6714 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.7461, allocations: 171 kB / 0.6715 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.7461, allocations: 4 kB / 0.6715 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.7462, allocations: 4 kB / 0.6715 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.7463, allocations: 53.67 kB / 0.6716 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7463, allocations: 0 / 0.6716 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.7463, allocations: 3.984 kB / 0.6716 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7463, allocations: 0 / 0.6716 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.7464, allocations: 31.88 kB / 0.6716 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.7466, allocations: 165.6 kB / 0.6718 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.7467, allocations: 63.56 kB / 0.6719 GB, free: 14.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.7472, allocations: 0.5583 MB / 0.6724 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.7472, allocations: 34.56 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.374e-06/0.7472, allocations: 0 / 0.6724 GB, free: 14.12 MB / 474.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.01917/0.7664, allocations: 4.258 MB / 0.6766 GB, free: 9.707 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.7665, allocations: 59.41 kB / 0.6766 GB, free: 9.637 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.7666, allocations: 85 kB / 0.6767 GB, free: 9.547 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.7667, allocations: 33.7 kB / 0.6768 GB, free: 9.508 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.7667, allocations: 80.14 kB / 0.6768 GB, free: 9.426 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.7668, allocations: 59.09 kB / 0.6769 GB, free: 9.367 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.7669, allocations: 8 kB / 0.6769 GB, free: 9.359 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.767, allocations: 318.8 kB / 0.6772 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.7676, allocations: 312 kB / 0.6775 GB, free: 8.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.7681, allocations: 309.4 kB / 0.6778 GB, free: 8.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.7688, allocations: 391.9 kB / 0.6782 GB, free: 8.051 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.7688, allocations: 0 / 0.6782 GB, free: 8.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001508/0.7703, allocations: 0.7954 MB / 0.6789 GB, free: 7.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.7704, allocations: 8 kB / 0.679 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7704, allocations: 0 / 0.679 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7704, allocations: 3.953 kB / 0.679 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.7712, allocations: 95.88 kB / 0.679 GB, free: 7.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7712, allocations: 0 / 0.679 GB, free: 7.145 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.7717, allocations: 8 kB / 0.6791 GB, free: 7.137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.7718, allocations: 47.91 kB / 0.6791 GB, free: 7.09 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.772, allocations: 109.8 kB / 0.6792 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.772, allocations: 4 kB / 0.6792 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.7756, allocations: 1.405 MB / 0.6806 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.7757, allocations: 7.953 kB / 0.6806 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.7757, allocations: 0 / 0.6806 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.7757, allocations: 7.984 kB / 0.6806 GB, free: 5.547 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.7789, allocations: 1.806 MB / 0.6824 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.7789, allocations: 4 kB / 0.6824 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.7797, allocations: 107.8 kB / 0.6825 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.7797, allocations: 0 / 0.6825 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/0.7798, allocations: 32 kB / 0.6825 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7798, allocations: 4.031 kB / 0.6825 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7798, allocations: 0 / 0.6825 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.7822, allocations: 1.482 MB / 0.684 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.7822, allocations: 88.95 kB / 0.684 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.7823, allocations: 8.812 kB / 0.684 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.7828, allocations: 15.98 kB / 0.6841 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.7829, allocations: 48.03 kB / 0.6841 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/0.783, allocations: 24 kB / 0.6841 GB, free: 1.824 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.783, allocations: 75.28 kB / 0.6842 GB, free: 1.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.783, allocations: 0 / 0.6842 GB, free: 1.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006478/0.7837, allocations: 215.7 kB / 0.6844 GB, free: 1.539 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005737/0.7843, allocations: 262.6 kB / 0.6847 GB, free: 1.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.7855, allocations: 0.7196 MB / 0.6854 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7855, allocations: 4.094 kB / 0.6854 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.7861, allocations: 451.8 kB / 0.6858 GB, free: 108 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.7863, allocations: 15.95 kB / 0.6858 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.7894, allocations: 0.8467 MB / 0.6866 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.7898, allocations: 0.7261 MB / 0.6873 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001418/0.7913, allocations: 298.2 kB / 0.6876 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/0.7918, allocations: 95.41 kB / 0.6877 GB, free: 14.07 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.7918, allocations: 0 / 0.6877 GB, free: 14.07 MB / 490.7 MB Notification: Performance of Templates: time 0.01596/0.8078, allocations: 10.13 MB / 0.6976 GB, free: 3.988 MB / 490.7 MB 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)