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.0008934/0.0008934, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.0012/0.0012, allocations: 169 kB / 24.05 MB, free: 452 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 1.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.6855/0.6855, allocations: 115 MB / 376 MB, free: 7.523 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.138e-06/4.138e-06, allocations: 3.328 kB / 482 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.895e-05, allocations: 5.609 kB / 482 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002468/0.002507, allocations: 0.6256 MB / 482.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.004868, allocations: 1.34 MB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.004923, allocations: 0 / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.004953, allocations: 4.719 kB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.004991, allocations: 0 / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.005585, allocations: 91.36 kB / 484.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.005654, allocations: 25 kB / 484.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.005704, allocations: 3.875 kB / 484.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.005753, allocations: 10.2 kB / 484.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.005839, allocations: 19.8 kB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.005856, allocations: 2.188 kB / 484.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.006143, allocations: 111.2 kB / 484.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.006156, allocations: 1.125 kB / 484.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.006177, allocations: 11.02 kB / 484.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.006354, allocations: 88.77 kB / 484.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.006358, allocations: 2.406 kB / 484.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.00636, allocations: 0 / 484.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.006365, allocations: 0 / 484.4 MB, free: 10.26 MB / 410.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.0003833/0.006748, allocations: 385.2 kB / 484.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.006793, allocations: 9.719 kB / 484.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.006828, allocations: 5.281 kB / 484.8 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.301e-05/0.006901, allocations: 117.8 kB / 484.9 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.006914, allocations: 3.188 kB / 484.9 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.006938, allocations: 7.562 kB / 484.9 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.007042, allocations: 73.94 kB / 484.9 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.007053, allocations: 1.25 kB / 485 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.007063, allocations: 5.5 kB / 485 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.007071, allocations: 4.75 kB / 485 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.007117, allocations: 13.91 kB / 485 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.007242, allocations: 112.8 kB / 485.1 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.00735, allocations: 59.92 kB / 485.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.007376, allocations: 25.33 kB / 485.2 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.007568, allocations: 35.61 kB / 485.2 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.007594, allocations: 40.55 kB / 485.2 MB, free: 9.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 3.256e-06/0.007597, allocations: 4.562 kB / 485.2 MB, free: 9.418 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.01149/0.01909, allocations: 5.183 MB / 490.4 MB, free: 8.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.01912, allocations: 52.81 kB / 490.5 MB, free: 8.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.01918, allocations: 155.8 kB / 490.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.01924, allocations: 31.86 kB / 490.7 MB, free: 8.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.01926, allocations: 128.4 kB / 490.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/0.01934, allocations: 61.39 kB / 490.8 MB, free: 8.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.01951, allocations: 100.1 kB / 490.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003137/0.01982, allocations: 0.4903 MB / 491.4 MB, free: 23.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.02027, allocations: 392.8 kB / 491.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.0207, allocations: 395 kB / 492.2 MB, free: 23.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.02197, allocations: 0.94 MB / 493.1 MB, free: 23.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02198, allocations: 3.562 kB / 493.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001247/0.02322, allocations: 0.9726 MB / 494.1 MB, free: 23.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.02324, allocations: 4.375 kB / 494.1 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.02325, allocations: 5.312 kB / 494.1 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.02327, allocations: 1.125 kB / 494.1 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.0237, allocations: 98.5 kB / 494.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.0237, allocations: 5.125 kB / 494.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.0239, allocations: 7.781 kB / 494.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.02396, allocations: 32.05 kB / 494.3 MB, free: 23.36 MB / 426.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.0001634/0.02412, allocations: 164.2 kB / 494.4 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.02421, allocations: 13.39 kB / 494.4 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.02588, allocations: 1.22 MB / 495.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.02589, allocations: 4 kB / 495.7 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.02589, allocations: 0 / 495.7 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.0259, allocations: 3.188 kB / 495.7 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.0274, allocations: 1.487 MB / 497.2 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.0274, allocations: 0 / 497.2 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.02776, allocations: 109.7 kB / 497.3 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.02776, allocations: 4 kB / 497.3 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.0278, allocations: 24 kB / 497.3 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.02781, allocations: 4 kB / 497.3 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02781, allocations: 0 / 497.3 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.02887, allocations: 1.148 MB / 498.4 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.02889, allocations: 19.83 kB / 498.5 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.02894, allocations: 16.06 kB / 498.5 MB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.02915, allocations: 11.28 kB / 498.5 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.02922, allocations: 42.5 kB / 498.5 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.02926, allocations: 26.95 kB / 498.6 MB, free: 19.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.203e-05/0.0293, allocations: 119.2 kB / 498.7 MB, free: 19.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0293, allocations: 0 / 498.7 MB, free: 19.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004683/0.02977, allocations: 190.6 kB / 498.9 MB, free: 19.65 MB / 426.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.0004072/0.03018, allocations: 245 kB / 499.1 MB, free: 19.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.03084, allocations: 0.748 MB / 499.9 MB, free: 18.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.03085, allocations: 0 / 499.9 MB, free: 18.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.03111, allocations: 353.2 kB / 0.4885 GB, free: 18.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.03134, allocations: 44.53 kB / 0.4885 GB, free: 18.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.03279, allocations: 0.6933 MB / 0.4892 GB, free: 17.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.03283, allocations: 75.97 kB / 0.4893 GB, free: 17.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005795/0.03341, allocations: 292.7 kB / 0.4895 GB, free: 17.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.03392, allocations: 168 kB / 0.4897 GB, free: 17.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.03392, allocations: 4 kB / 0.4897 GB, free: 17.19 MB / 426.7 MB Notification: Performance of Templates: time 0.01988/0.05381, allocations: 12.97 MB / 0.5024 GB, free: 7.168 MB / 426.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.6596177951432765]