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.001312/0.001312, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.0009847/0.0009847, allocations: 173.3 kB / 24.15 MB, free: 352 kB / 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.9856/0.9856, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.6216/0.6216, allocations: 115 MB / 376 MB, free: 7.496 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 4.819e-06/4.819e-06, allocations: 0 / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.936e-05, allocations: 2.312 kB / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001075/0.001095, allocations: 0.6304 MB / 429.4 MB, free: 2.102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.002409, allocations: 1.357 MB / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.002429, allocations: 0 / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.002441, allocations: 0 / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.905e-05/0.00246, allocations: 0 / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.002789, allocations: 87.55 kB / 430.8 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.002836, allocations: 19.97 kB / 430.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.002868, allocations: 4 kB / 430.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.002903, allocations: 15.98 kB / 430.9 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.002968, allocations: 15.91 kB / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.002982, allocations: 0 / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.003188, allocations: 115.8 kB / 431 MB, free: 484 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.003198, allocations: 0 / 431 MB, free: 484 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.003215, allocations: 15.97 kB / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.003338, allocations: 87.77 kB / 431.1 MB, free: 380 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00334, allocations: 0 / 431.1 MB, free: 380 kB / 394.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003341, allocations: 0 / 431.1 MB, free: 380 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.003344, allocations: 0 / 431.1 MB, free: 380 kB / 394.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.0002633/0.003607, allocations: 252.4 kB / 431.4 MB, free: 104 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.003636, allocations: 12.03 kB / 431.4 MB, free: 92 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.003661, allocations: 12.88 kB / 431.4 MB, free: 80 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.003734, allocations: 101.8 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.003744, allocations: 8.375 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.003762, allocations: 384 / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.839e-05/0.003841, allocations: 75.94 kB / 431.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.00385, allocations: 8.469 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.003857, allocations: 384 / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.003861, allocations: 3.938 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/0.003898, allocations: 15.98 kB / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.33e-05/0.003981, allocations: 72.98 kB / 431.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.00405, allocations: 50.62 kB / 431.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.00407, allocations: 20.84 kB / 431.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.004214, allocations: 35.97 kB / 431.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.004234, allocations: 46.5 kB / 431.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.004235, allocations: 0 / 431.8 MB, free: 15.57 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.009471/0.01371, allocations: 4.694 MB / 436.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01373, allocations: 55.41 kB / 436.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/0.01378, allocations: 106.7 kB / 436.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.01383, allocations: 29.7 kB / 436.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.934e-05/0.01385, allocations: 80.14 kB / 436.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.01394, allocations: 63.47 kB / 436.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.01407, allocations: 41.64 kB / 436.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.01414, allocations: 318.8 kB / 437.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.01438, allocations: 312 kB / 437.5 MB, free: 9.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.01462, allocations: 315.6 kB / 437.8 MB, free: 9.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.01539, allocations: 0.7974 MB / 438.6 MB, free: 8.633 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01539, allocations: 0 / 438.6 MB, free: 8.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007313/0.01612, allocations: 0.7398 MB / 439.3 MB, free: 7.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01614, allocations: 20.05 kB / 439.4 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01614, allocations: 3.938 kB / 439.4 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.01615, allocations: 0 / 439.4 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.01645, allocations: 43.89 kB / 439.4 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.01645, allocations: 0 / 439.4 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.01661, allocations: 12 kB / 439.4 MB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.01665, allocations: 7.969 kB / 439.4 MB, free: 7.801 MB / 410.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.0001244/0.01678, allocations: 117.8 kB / 439.5 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.01686, allocations: 15.92 kB / 439.6 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.01813, allocations: 0.9621 MB / 440.5 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01814, allocations: 4 kB / 440.5 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01814, allocations: 0 / 440.5 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01814, allocations: 7.984 kB / 440.5 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.01929, allocations: 0.9687 MB / 441.5 MB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01929, allocations: 4.031 kB / 441.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.01959, allocations: 67.91 kB / 441.6 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.0196, allocations: 8 kB / 441.6 MB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.01963, allocations: 7.984 kB / 441.6 MB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.01963, allocations: 4 kB / 441.6 MB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01964, allocations: 3.938 kB / 441.6 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.02071, allocations: 0.8684 MB / 442.5 MB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.02072, allocations: 19.84 kB / 442.5 MB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.02078, allocations: 4 kB / 442.5 MB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.02096, allocations: 12 kB / 442.5 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.02103, allocations: 31.97 kB / 442.5 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.02107, allocations: 8 kB / 442.5 MB, free: 4.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.706e-06/0.02108, allocations: 4.859 kB / 442.5 MB, free: 4.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02108, allocations: 0 / 442.5 MB, free: 4.617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.02148, allocations: 179.7 kB / 442.7 MB, free: 4.441 MB / 410.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.0003502/0.02183, allocations: 235.9 kB / 442.9 MB, free: 4.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.02237, allocations: 0.5826 MB / 443.5 MB, free: 3.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.02237, allocations: 4 kB / 443.5 MB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.02261, allocations: 264.6 kB / 443.8 MB, free: 3.352 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.02278, allocations: 23.88 kB / 443.8 MB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.0241, allocations: 0.5256 MB / 444.3 MB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.262e-05/0.02416, allocations: 77.33 kB / 444.4 MB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006141/0.02477, allocations: 293.5 kB / 444.7 MB, free: 2.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.02526, allocations: 87.34 kB / 444.8 MB, free: 2.305 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02527, allocations: 0 / 444.8 MB, free: 2.305 MB / 410.7 MB Notification: Performance of Templates: time 0.1689/0.1942, allocations: 12.91 MB / 457.7 MB, free: 27.58 MB / 410.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.5734282988123596]