Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001102/0.001102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.002146, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007204/0.0007204, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008944/0.001615, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9903/0.9903, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09649/1.087, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.85/1.85, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4938/2.343, allocations: 127.1 MB / 0.7432 GB, free: 4.617 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 0.7445 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.438e-06/1.035e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001003/0.001013, allocations: 0.6781 MB / 0.7452 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002231, allocations: 1.356 MB / 0.7465 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.233e-05/0.002243, allocations: 4.906 kB / 0.7465 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-06/0.002247, allocations: 3.938 kB / 0.7465 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-06/0.002253, allocations: 3.719 kB / 0.7465 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.002443, allocations: 69.42 kB / 0.7466 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.002e-05/0.002483, allocations: 21.28 kB / 0.7466 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.151e-05/0.002504, allocations: 4.875 kB / 0.7466 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.00254, allocations: 16.97 kB / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.002589, allocations: 13.5 kB / 0.7467 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.002598, allocations: 4 kB / 0.7467 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.00278, allocations: 124.4 kB / 0.7468 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-06/0.002788, allocations: 4.688 kB / 0.7468 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.002801, allocations: 8.875 kB / 0.7468 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.002911, allocations: 70.48 kB / 0.7469 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.002919, allocations: 0 / 0.7469 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.7e-07/0.00292, allocations: 0 / 0.7469 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.002927, allocations: 0 / 0.7469 GB, free: 0.918 MB / 0.7136 GB 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.0002455/0.003173, allocations: 265.2 kB / 0.7471 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.045e-05/0.003193, allocations: 8.031 kB / 0.7471 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.849e-05/0.003212, allocations: 12.2 kB / 0.7471 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.483e-05/0.003267, allocations: 113.7 kB / 0.7472 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.003273, allocations: 384 / 0.7472 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.00329, allocations: 12.33 kB / 0.7472 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.933e-05/0.003349, allocations: 68.59 kB / 0.7473 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003358, allocations: 8.172 kB / 0.7473 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.003364, allocations: 4.375 kB / 0.7473 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.003368, allocations: 3.938 kB / 0.7473 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.011e-05/0.003398, allocations: 19.73 kB / 0.7473 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.18e-05/0.003459, allocations: 65.05 kB / 0.7474 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.00352, allocations: 47.33 kB / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.003537, allocations: 20.86 kB / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.003668, allocations: 31.97 kB / 0.7475 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.003686, allocations: 38.55 kB / 0.7475 GB, free: 132 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 7.01e-07/0.003686, allocations: 2.438 kB / 0.7475 GB, free: 132 kB / 0.7136 GB 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.01365/0.01734, allocations: 8.581 MB / 0.7559 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.01736, allocations: 55.95 kB / 0.756 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.698e-05/0.0174, allocations: 98.7 kB / 0.7561 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.893e-05/0.01749, allocations: 33.64 kB / 0.7561 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.0175, allocations: 84.27 kB / 0.7562 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.87e-05/0.0176, allocations: 59.48 kB / 0.7562 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.01781, allocations: 70.14 kB / 0.7563 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.01788, allocations: 314.8 kB / 0.7566 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.01835, allocations: 0.6718 MB / 0.7573 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.01885, allocations: 0.664 MB / 0.7579 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.01986, allocations: 1.433 MB / 0.7593 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.01986, allocations: 0 / 0.7593 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00114/0.021, allocations: 1.428 MB / 0.7607 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.02101, allocations: 14.75 kB / 0.7607 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.02101, allocations: 0 / 0.7607 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.483e-06/0.02102, allocations: 4 kB / 0.7607 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.02172, allocations: 131.7 kB / 0.7608 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.02172, allocations: 0.6562 kB / 0.7608 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.02201, allocations: 12 kB / 0.7609 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.02209, allocations: 19.94 kB / 0.7609 GB, free: 2.484 MB / 0.7292 GB 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.0001791/0.02227, allocations: 117.8 kB / 0.761 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.0224, allocations: 15.92 kB / 0.761 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.0257, allocations: 1.977 MB / 0.7629 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.02571, allocations: 15.92 kB / 0.763 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.02571, allocations: 0 / 0.763 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.02572, allocations: 3.984 kB / 0.763 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.0278, allocations: 1.866 MB / 0.7648 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.0278, allocations: 4.031 kB / 0.7648 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.0286, allocations: 203.8 kB / 0.765 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.02862, allocations: 35.69 kB / 0.765 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.02863, allocations: 4 kB / 0.765 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.02869, allocations: 23.92 kB / 0.765 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.0287, allocations: 4 kB / 0.765 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0287, allocations: 0 / 0.765 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.03024, allocations: 1.648 MB / 0.7666 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.03034, allocations: 16 kB / 0.7667 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.03064, allocations: 20 kB / 0.7667 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.03079, allocations: 60.91 kB / 0.7667 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.03086, allocations: 19.98 kB / 0.7668 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.774e-06/0.03087, allocations: 4.859 kB / 0.7668 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.03087, allocations: 0 / 0.7668 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004648/0.03133, allocations: 259.7 kB / 0.767 GB, free: 12.14 MB / 0.7448 GB 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.0003696/0.0317, allocations: 251.8 kB / 0.7673 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.03273, allocations: 1.226 MB / 0.7685 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.03274, allocations: 4 kB / 0.7685 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.03323, allocations: 0.5591 MB / 0.769 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.03348, allocations: 61.78 kB / 0.7691 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.03575, allocations: 1.104 MB / 0.7701 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.647e-05/0.03581, allocations: 108 kB / 0.7702 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001558/0.03737, allocations: 0.6976 MB / 0.7709 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009802/0.03835, allocations: 135.3 kB / 0.7711 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.03835, allocations: 0 / 0.7711 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.02352/0.06187, allocations: 25.96 MB / 0.7964 GB, free: 13.99 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.240897051990032]