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.0008094/0.0008094, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002042, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006945/0.0006945, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000902/0.001597, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.943/0.943, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.025, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7122/0.7122, allocations: 120.1 MB / 364.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08278/0.795, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] 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.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 1.764e-06/1.764e-06, allocations: 0 / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.337e-05, allocations: 2.312 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001363/0.001386, allocations: 0.6813 MB / 404.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.002573, allocations: 1.349 MB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.002595, allocations: 0 / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.392e-06/0.002601, allocations: 3.938 kB / 405.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.652e-06/0.002608, allocations: 0 / 405.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.002838, allocations: 75.66 kB / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.002894, allocations: 27.92 kB / 405.9 MB, free: 8.723 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.002932, allocations: 3.938 kB / 405.9 MB, free: 8.719 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.002978, allocations: 15.98 kB / 405.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.00305, allocations: 15.91 kB / 406 MB, free: 8.688 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.003063, allocations: 4 kB / 406 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.003287, allocations: 119.8 kB / 406.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.003301, allocations: 4 kB / 406.1 MB, free: 8.562 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.003316, allocations: 7.938 kB / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.003454, allocations: 67.88 kB / 406.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.003466, allocations: 4 kB / 406.2 MB, free: 8.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003466, allocations: 0 / 406.2 MB, free: 8.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.003478, allocations: 0 / 406.2 MB, free: 8.484 MB / 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.0003572/0.003835, allocations: 268.4 kB / 406.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.003866, allocations: 12.03 kB / 406.4 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.003898, allocations: 4.938 kB / 406.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.003976, allocations: 109.7 kB / 406.5 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.003988, allocations: 4.375 kB / 406.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.004012, allocations: 4.328 kB / 406.6 MB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.004099, allocations: 75.94 kB / 406.6 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.004108, allocations: 4.188 kB / 406.6 MB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.004115, allocations: 384 / 406.6 MB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004121, allocations: 7.875 kB / 406.6 MB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.004158, allocations: 15.98 kB / 406.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.778e-05/0.004245, allocations: 69.03 kB / 406.7 MB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.004324, allocations: 50.5 kB / 406.8 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.004346, allocations: 16.84 kB / 406.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.004511, allocations: 44.19 kB / 406.8 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.004533, allocations: 34.56 kB / 406.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.004534, allocations: 0 / 406.9 MB, free: 7.684 MB / 394.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.01408/0.01862, allocations: 8.572 MB / 415.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.01865, allocations: 59.34 kB / 415.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.01872, allocations: 106.7 kB / 415.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.703e-05/0.01882, allocations: 33.7 kB / 415.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.01884, allocations: 80.14 kB / 415.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.01896, allocations: 59.48 kB / 415.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.01919, allocations: 61.58 kB / 415.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.01927, allocations: 314.8 kB / 416.1 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.01976, allocations: 0.664 MB / 416.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.02029, allocations: 0.6756 MB / 417.5 MB, free: 12.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.02137, allocations: 1.43 MB / 418.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02137, allocations: 8 kB / 418.9 MB, free: 11.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001205/0.02258, allocations: 1.432 MB / 420.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.0226, allocations: 11.94 kB / 420.4 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.02261, allocations: 0 / 420.4 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.02263, allocations: 0 / 420.4 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.02337, allocations: 127.8 kB / 420.5 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.02337, allocations: 0 / 420.5 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.02367, allocations: 12 kB / 420.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.02374, allocations: 19.94 kB / 420.5 MB, free: 9.844 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.0002096/0.02395, allocations: 117.8 kB / 420.6 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.0241, allocations: 11.94 kB / 420.6 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.02743, allocations: 1.973 MB / 422.6 MB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.02744, allocations: 8 kB / 422.6 MB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02744, allocations: 3.984 kB / 422.6 MB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.02745, allocations: 7.984 kB / 422.6 MB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.02967, allocations: 1.862 MB / 424.5 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.02968, allocations: 0 / 424.5 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.03049, allocations: 207.7 kB / 424.7 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.03053, allocations: 35.69 kB / 424.7 MB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.03053, allocations: 4 kB / 424.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.0306, allocations: 15.98 kB / 424.8 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.0306, allocations: 4 kB / 424.8 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03061, allocations: 0 / 424.8 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.03214, allocations: 1.652 MB / 426.4 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.03223, allocations: 16.06 kB / 426.4 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.03257, allocations: 24 kB / 426.4 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.03274, allocations: 56.89 kB / 426.5 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.03282, allocations: 15.98 kB / 426.5 MB, free: 3.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.7e-05/0.03283, allocations: 8.797 kB / 426.5 MB, free: 3.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03283, allocations: 0 / 426.5 MB, free: 3.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005507/0.03338, allocations: 263.7 kB / 426.8 MB, free: 3.5 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 (89): * Single equations (assignments): 89 * 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.0004317/0.03382, allocations: 251.8 kB / 427 MB, free: 3.246 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.0349, allocations: 1.234 MB / 428.3 MB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.03491, allocations: 4 kB / 428.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.03548, allocations: 0.6117 MB / 428.9 MB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.03576, allocations: 63.91 kB / 428.9 MB, free: 1.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.03815, allocations: 1.119 MB / 430.1 MB, free: 180 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.533e-05/0.0382, allocations: 104 kB / 430.2 MB, free: 60 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.1674/0.2056, allocations: 0.7017 MB / 430.9 MB, free: 22.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.2069, allocations: 126.8 kB / 431 MB, free: 22.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2069, allocations: 3.656 kB / 431 MB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.0247/0.2316, allocations: 25.94 MB / 456.9 MB, free: 5.344 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.755451075732708]