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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 110.3 kB / 17.33 MB, free: 5.043 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.001664/0.001664, allocations: 202.6 kB / 18.33 MB, free: 4.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.513/1.513, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8894/0.8894, allocations: 128.4 MB / 426.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 68.83 kB / 0.5912 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1982, allocations: 83.25 MB / 0.6725 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002301/0.2005, allocations: 0.6182 MB / 0.6731 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2026, allocations: 1.298 MB / 0.6744 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.2026, allocations: 3.938 kB / 0.6744 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.2026, allocations: 0 / 0.6744 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.2027, allocations: 7.938 kB / 0.6744 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.2032, allocations: 75.72 kB / 0.6745 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.2033, allocations: 19.98 kB / 0.6745 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.2034, allocations: 7.984 kB / 0.6745 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.2035, allocations: 8 kB / 0.6745 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.2036, allocations: 15.91 kB / 0.6745 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2036, allocations: 4 kB / 0.6745 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2039, allocations: 95.91 kB / 0.6746 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.2039, allocations: 11.91 kB / 0.6746 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.204, allocations: 15.94 kB / 0.6746 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2042, allocations: 63.84 kB / 0.6747 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2042, allocations: 0 / 0.6747 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2042, allocations: 0 / 0.6747 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.2042, allocations: 0 / 0.6747 GB, free: 1.574 MB / 0.4981 GB 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.0007852/0.205, allocations: 355.2 kB / 0.675 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.205, allocations: 8.031 kB / 0.675 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.2051, allocations: 8.891 kB / 0.6751 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2053, allocations: 172.3 kB / 0.6752 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2053, allocations: 4.375 kB / 0.6752 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.2054, allocations: 4.375 kB / 0.6752 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.2056, allocations: 53.98 kB / 0.6753 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2056, allocations: 0 / 0.6753 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.2056, allocations: 11.94 kB / 0.6753 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2056, allocations: 0 / 0.6753 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.2057, allocations: 23.97 kB / 0.6753 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.206, allocations: 165.6 kB / 0.6755 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2062, allocations: 62.48 kB / 0.6755 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.2063, allocations: 24.86 kB / 0.6756 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008399/0.2071, allocations: 0.5583 MB / 0.6761 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.2071, allocations: 34.5 kB / 0.6761 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2071, allocations: 4 kB / 0.6761 GB, free: 15.81 MB / 0.5137 GB 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.02009/0.2272, allocations: 4.372 MB / 0.6804 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2273, allocations: 51.41 kB / 0.6805 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2274, allocations: 93.86 kB / 0.6805 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.258e-05/0.2275, allocations: 33.7 kB / 0.6806 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.2275, allocations: 80.14 kB / 0.6806 GB, free: 11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2276, allocations: 59.48 kB / 0.6807 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.2279, allocations: 93.66 kB / 0.6808 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.2281, allocations: 322.8 kB / 0.6811 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.2286, allocations: 307.8 kB / 0.6814 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.2292, allocations: 318.7 kB / 0.6817 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.2308, allocations: 0.7702 MB / 0.6825 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2308, allocations: 4 kB / 0.6825 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001617/0.2324, allocations: 0.802 MB / 0.6832 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.2324, allocations: 10.03 kB / 0.6833 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2324, allocations: 0 / 0.6833 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.2325, allocations: 0 / 0.6833 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008027/0.2333, allocations: 95.83 kB / 0.6833 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2333, allocations: 0 / 0.6833 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.2337, allocations: 15.98 kB / 0.6834 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.2338, allocations: 32.92 kB / 0.6834 GB, free: 8.18 MB / 0.5137 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.0002275/0.234, allocations: 121.8 kB / 0.6835 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.2341, allocations: 4 kB / 0.6835 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.2374, allocations: 1.396 MB / 0.6849 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2374, allocations: 4 kB / 0.6849 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2374, allocations: 7.984 kB / 0.6849 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2374, allocations: 0 / 0.6849 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.2407, allocations: 1.807 MB / 0.6866 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2407, allocations: 4 kB / 0.6867 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.2414, allocations: 107.9 kB / 0.6868 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2414, allocations: 0 / 0.6868 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.2415, allocations: 35.92 kB / 0.6868 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2415, allocations: 0 / 0.6868 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2415, allocations: 4.031 kB / 0.6868 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.2441, allocations: 1.47 MB / 0.6882 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.2441, allocations: 92.95 kB / 0.6883 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.2442, allocations: 7.938 kB / 0.6883 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.2447, allocations: 12 kB / 0.6883 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.2448, allocations: 43.97 kB / 0.6884 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.2449, allocations: 36.05 kB / 0.6884 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.245, allocations: 75.28 kB / 0.6885 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.245, allocations: 4 kB / 0.6885 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006386/0.2456, allocations: 175.7 kB / 0.6887 GB, free: 2.672 MB / 0.5137 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.0005692/0.2462, allocations: 231 kB / 0.6889 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.2476, allocations: 0.7183 MB / 0.6896 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2476, allocations: 0 / 0.6896 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/0.2482, allocations: 403.8 kB / 0.69 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2485, allocations: 16 kB / 0.69 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.2517, allocations: 0.7962 MB / 0.6908 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.2521, allocations: 0.7181 MB / 0.6915 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00107/0.2531, allocations: 297.6 kB / 0.6917 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.2537, allocations: 91.41 kB / 0.6918 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.2537, allocations: 0 / 0.6918 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.02025/0.2739, allocations: 11.61 MB / 0.7032 GB, free: 3.766 MB / 0.5294 GB 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480]