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.001363/0.001363, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.0009797/0.0009797, allocations: 171.6 kB / 24.84 MB, free: 9.246 MB / 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.7161/0.7161, allocations: 115 MB / 376.8 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 1.633e-06/1.633e-06, allocations: 0 / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.565e-05, allocations: 2.859 kB / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001029/0.001044, allocations: 0.6304 MB / 483.5 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002226, allocations: 1.339 MB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.002252, allocations: 1.938 kB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.002269, allocations: 3.938 kB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.056e-05/0.00229, allocations: 0.7812 kB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.002622, allocations: 87.19 kB / 484.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.218e-05/0.002674, allocations: 25.34 kB / 484.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.002711, allocations: 1.156 kB / 484.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.002744, allocations: 11.91 kB / 484.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.002809, allocations: 15.11 kB / 484.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.00282, allocations: 2.906 kB / 484.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.003037, allocations: 115.2 kB / 485 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.00305, allocations: 2.188 kB / 485.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.003065, allocations: 6.766 kB / 485.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.003198, allocations: 96.84 kB / 485.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.0032, allocations: 0 / 485.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003201, allocations: 1.812 kB / 485.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.003204, allocations: 0 / 485.2 MB, free: 10.23 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.0002793/0.003483, allocations: 383.1 kB / 485.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.003514, allocations: 8.812 kB / 485.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.003542, allocations: 4.938 kB / 485.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.367e-05/0.003626, allocations: 114.4 kB / 485.7 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.00364, allocations: 3.156 kB / 485.7 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.003661, allocations: 10.88 kB / 485.7 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.775e-05/0.003739, allocations: 73.23 kB / 485.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.003748, allocations: 1.562 kB / 485.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.003754, allocations: 384 / 485.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.003761, allocations: 10.67 kB / 485.8 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.003802, allocations: 17.66 kB / 485.8 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.784e-05/0.00389, allocations: 111.8 kB / 485.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.003964, allocations: 58.09 kB / 485.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.003983, allocations: 23.34 kB / 486 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.004139, allocations: 36.41 kB / 486 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.004156, allocations: 39.95 kB / 486 MB, free: 9.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.004157, allocations: 0 / 486 MB, free: 9.402 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.01086/0.01501, allocations: 5.193 MB / 491.2 MB, free: 8.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.01504, allocations: 52.78 kB / 491.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.01509, allocations: 156.7 kB / 491.4 MB, free: 8.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.01514, allocations: 29.7 kB / 491.5 MB, free: 8.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.652e-05/0.01516, allocations: 128.2 kB / 491.6 MB, free: 8.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.01524, allocations: 64.08 kB / 491.6 MB, free: 8.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.01542, allocations: 99.56 kB / 491.7 MB, free: 8.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.01566, allocations: 0.489 MB / 492.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.01606, allocations: 394 kB / 492.6 MB, free: 23.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.01646, allocations: 400.7 kB / 493 MB, free: 23.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.0176, allocations: 0.9429 MB / 494 MB, free: 23.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.0176, allocations: 0 / 494 MB, free: 23.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001184/0.01879, allocations: 0.9678 MB / 494.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.0188, allocations: 8.094 kB / 494.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.0188, allocations: 0 / 494.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.01881, allocations: 0.9688 kB / 494.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.01922, allocations: 98.09 kB / 495 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.01922, allocations: 1.625 kB / 495 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.01943, allocations: 7.156 kB / 495 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.01948, allocations: 36.28 kB / 495.1 MB, free: 23.33 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.0001403/0.01962, allocations: 159.4 kB / 495.2 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.01972, allocations: 16.52 kB / 495.2 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.0217, allocations: 1.217 MB / 496.5 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02171, allocations: 4 kB / 496.5 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.02171, allocations: 0 / 496.5 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02171, allocations: 6.938 kB / 496.5 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.02303, allocations: 1.481 MB / 497.9 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02303, allocations: 4 kB / 498 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.02339, allocations: 109.5 kB / 498.1 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.0234, allocations: 0 / 498.1 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.02344, allocations: 31.14 kB / 498.1 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.02345, allocations: 4 kB / 498.1 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02345, allocations: 4.016 kB / 498.1 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.02448, allocations: 1.154 MB / 499.3 MB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.02449, allocations: 19.84 kB / 499.3 MB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.02455, allocations: 11.14 kB / 499.3 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.02476, allocations: 12 kB / 499.3 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.02484, allocations: 45.17 kB / 499.3 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.02488, allocations: 24 kB / 499.4 MB, free: 19.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.14e-05/0.02491, allocations: 119.2 kB / 499.5 MB, free: 19.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02491, allocations: 0 / 499.5 MB, free: 19.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003951/0.02531, allocations: 185.7 kB / 499.7 MB, free: 19.62 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.0003418/0.02565, allocations: 250.9 kB / 499.9 MB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.02623, allocations: 0.7431 MB / 0.4889 GB, free: 18.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.02623, allocations: 0 / 0.4889 GB, free: 18.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.02652, allocations: 354.9 kB / 0.4893 GB, free: 18.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.02676, allocations: 42.42 kB / 0.4893 GB, free: 18.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.02826, allocations: 0.6942 MB / 0.49 GB, free: 17.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.0283, allocations: 79.78 kB / 0.49 GB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005657/0.02887, allocations: 293 kB / 0.4903 GB, free: 17.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.02938, allocations: 168 kB / 0.4905 GB, free: 17.16 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02938, allocations: 0 / 0.4905 GB, free: 17.16 MB / 426.7 MB Notification: Performance of Templates: time 0.01323/0.04262, allocations: 13.28 MB / 0.5035 GB, free: 6.828 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.72303459700197]