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.001681/0.001681, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001716/0.001716, allocations: 169 kB / 24.14 MB, free: 360 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.108/1.108, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.6868/0.6868, allocations: 115 MB / 376 MB, free: 7.457 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.664e-06/1.664e-06, allocations: 0 / 428.8 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.474e-05, allocations: 2.312 kB / 428.8 MB, free: 2.652 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001873/0.001897, allocations: 0.666 MB / 429.5 MB, free: 1.988 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.004001, allocations: 1.349 MB / 430.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.00403, allocations: 0 / 430.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.004048, allocations: 4 kB / 430.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.004076, allocations: 0 / 430.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.00451, allocations: 75.61 kB / 430.9 MB, free: 0.543 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.004583, allocations: 23.91 kB / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.004636, allocations: 7.984 kB / 431 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.00469, allocations: 15.98 kB / 431 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.004779, allocations: 7.984 kB / 431 MB, free: 500 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.004794, allocations: 0 / 431 MB, free: 500 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.005148, allocations: 127.7 kB / 431.1 MB, free: 372 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.005162, allocations: 4 kB / 431.1 MB, free: 368 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.005186, allocations: 15.97 kB / 431.1 MB, free: 352 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005371, allocations: 87.77 kB / 431.2 MB, free: 264 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005373, allocations: 0 / 431.2 MB, free: 264 kB / 394.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005374, allocations: 0 / 431.2 MB, free: 264 kB / 394.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005379, allocations: 0 / 431.2 MB, free: 264 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.0004274/0.005806, allocations: 256.4 kB / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.005853, allocations: 12.03 kB / 431.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.005892, allocations: 8.938 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.005997, allocations: 105.8 kB / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.006013, allocations: 4.375 kB / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.00604, allocations: 4.375 kB / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.006165, allocations: 75.94 kB / 431.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.006181, allocations: 4.484 kB / 431.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.00619, allocations: 384 / 431.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.006199, allocations: 3.938 kB / 431.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.006255, allocations: 19.92 kB / 431.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.006385, allocations: 73.03 kB / 431.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.006499, allocations: 46.55 kB / 431.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.006532, allocations: 25.08 kB / 431.8 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.006765, allocations: 35.95 kB / 431.9 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.0068, allocations: 38.56 kB / 431.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.006801, allocations: 0 / 431.9 MB, free: 15.46 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.01156/0.01836, allocations: 4.709 MB / 436.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.01839, allocations: 55.34 kB / 436.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.01845, allocations: 98.72 kB / 436.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.0185, allocations: 33.83 kB / 436.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.01852, allocations: 80.14 kB / 436.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.29e-05/0.01862, allocations: 59.47 kB / 436.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.01875, allocations: 41.66 kB / 437 MB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.01884, allocations: 322.8 kB / 437.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.0191, allocations: 312 kB / 437.6 MB, free: 9.617 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.01936, allocations: 312 kB / 437.9 MB, free: 9.312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.0202, allocations: 0.7972 MB / 438.7 MB, free: 8.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.02021, allocations: 0 / 438.7 MB, free: 8.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008589/0.02106, allocations: 0.7476 MB / 439.5 MB, free: 7.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.02108, allocations: 7.938 kB / 439.5 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.02109, allocations: 4 kB / 439.5 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.0211, allocations: 0 / 439.5 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.02148, allocations: 51.92 kB / 439.5 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.02148, allocations: 3.984 kB / 439.5 MB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02166, allocations: 8 kB / 439.5 MB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.0217, allocations: 7.984 kB / 439.5 MB, free: 7.68 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.0001338/0.02183, allocations: 121.8 kB / 439.7 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.0219, allocations: 15.92 kB / 439.7 MB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.02331, allocations: 0.9621 MB / 440.6 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.02331, allocations: 4 kB / 440.6 MB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.02331, allocations: 4 kB / 440.6 MB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.02332, allocations: 3.984 kB / 440.6 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.02474, allocations: 0.9687 MB / 441.6 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02474, allocations: 3.938 kB / 441.6 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.0251, allocations: 83.92 kB / 441.7 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.0251, allocations: 0 / 441.7 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.02514, allocations: 8 kB / 441.7 MB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.02514, allocations: 3.938 kB / 441.7 MB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.02515, allocations: 4 kB / 441.7 MB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.02609, allocations: 0.8684 MB / 442.6 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.0261, allocations: 19.83 kB / 442.6 MB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.02616, allocations: 8 kB / 442.6 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.02633, allocations: 8 kB / 442.6 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.02642, allocations: 23.95 kB / 442.6 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.02646, allocations: 12.03 kB / 442.7 MB, free: 4.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.005e-05/0.02647, allocations: 8.859 kB / 442.7 MB, free: 4.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02647, allocations: 0 / 442.7 MB, free: 4.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.02684, allocations: 183.7 kB / 442.8 MB, free: 4.305 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.0004169/0.02725, allocations: 235.9 kB / 443.1 MB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.02787, allocations: 0.5716 MB / 443.6 MB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.02787, allocations: 0 / 443.6 MB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.02813, allocations: 256.6 kB / 443.9 MB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.02834, allocations: 24.09 kB / 443.9 MB, free: 3.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.02974, allocations: 0.5256 MB / 444.4 MB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.371e-05/0.0298, allocations: 81.34 kB / 444.5 MB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008477/0.03064, allocations: 293.5 kB / 444.8 MB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.03117, allocations: 83.34 kB / 444.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.03117, allocations: 0 / 444.9 MB, free: 2.188 MB / 410.7 MB Notification: Performance of Templates: time 0.2905/0.3216, allocations: 12.91 MB / 457.8 MB, free: 26.34 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9708027821034193]