Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001589/0.001589, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001441/0.001441, allocations: 212.8 kB / 22.99 MB, free: 4.945 MB / 14.72 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002473/0.002473, allocations: 289.8 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.16/1.16, allocations: 180.6 MB / 0.5377 GB, free: 14.78 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 103 kB / 0.7408 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1683, allocations: 95.39 MB / 0.8339 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001663/0.1699, allocations: 0.6085 MB / 0.8345 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1716, allocations: 1.313 MB / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.1717, allocations: 0 / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.1717, allocations: 0 / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.1717, allocations: 0 / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.1721, allocations: 95.66 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.1721, allocations: 15.98 kB / 0.8359 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.1722, allocations: 8 kB / 0.8359 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1722, allocations: 7.938 kB / 0.8359 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.1723, allocations: 19.91 kB / 0.8359 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1723, allocations: 4 kB / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.1726, allocations: 103.9 kB / 0.836 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.1726, allocations: 3.984 kB / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.1726, allocations: 19.86 kB / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1727, allocations: 75.73 kB / 0.8361 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1728, allocations: 3.984 kB / 0.8361 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1728, allocations: 0 / 0.8361 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1728, allocations: 0 / 0.8361 GB, free: 5.473 MB / 0.5762 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.0004277/0.1732, allocations: 278.2 kB / 0.8364 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1732, allocations: 12.75 kB / 0.8364 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1733, allocations: 0.9375 kB / 0.8364 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1734, allocations: 110.5 kB / 0.8365 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1734, allocations: 4.375 kB / 0.8365 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1734, allocations: 8.328 kB / 0.8365 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1735, allocations: 79.7 kB / 0.8366 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1735, allocations: 0 / 0.8366 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1736, allocations: 3.984 kB / 0.8366 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1736, allocations: 4 kB / 0.8366 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.1736, allocations: 27.92 kB / 0.8366 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.1738, allocations: 113.3 kB / 0.8367 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1739, allocations: 58.55 kB / 0.8368 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.174, allocations: 20.84 kB / 0.8368 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.1742, allocations: 39.97 kB / 0.8369 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1742, allocations: 38.55 kB / 0.8369 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1742, allocations: 4 kB / 0.8369 GB, free: 4.57 MB / 0.5762 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.01893/0.1931, allocations: 4.17 MB / 0.841 GB, free: 312 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1932, allocations: 55.34 kB / 0.841 GB, free: 244 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.1933, allocations: 97.84 kB / 0.8411 GB, free: 136 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.1933, allocations: 29.7 kB / 0.8411 GB, free: 100 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1934, allocations: 84.27 kB / 0.8412 GB, free: 12 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1935, allocations: 63.56 kB / 0.8413 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.1937, allocations: 89.67 kB / 0.8414 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1939, allocations: 322.8 kB / 0.8417 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.1944, allocations: 307.9 kB / 0.842 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.1949, allocations: 315.9 kB / 0.8423 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.1965, allocations: 0.768 MB / 0.843 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1965, allocations: 0 / 0.843 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001576/0.1981, allocations: 0.8078 MB / 0.8438 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1981, allocations: 4 kB / 0.8438 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1981, allocations: 3.984 kB / 0.8438 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1981, allocations: 4 kB / 0.8438 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.1989, allocations: 91.95 kB / 0.8439 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.199, allocations: 1.25 kB / 0.8439 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.1995, allocations: 8 kB / 0.8439 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.1995, allocations: 35.97 kB / 0.844 GB, free: 13.2 MB / 0.5919 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.0002022/0.1997, allocations: 126.4 kB / 0.8441 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.1998, allocations: 7.953 kB / 0.8441 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.2029, allocations: 1.399 MB / 0.8455 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2029, allocations: 4 kB / 0.8455 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2029, allocations: 0 / 0.8455 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2029, allocations: 3.984 kB / 0.8455 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.2058, allocations: 1.662 MB / 0.8471 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2058, allocations: 0 / 0.8471 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.2066, allocations: 107.9 kB / 0.8472 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2066, allocations: 8.031 kB / 0.8472 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/0.2067, allocations: 27.94 kB / 0.8472 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2067, allocations: 0 / 0.8472 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2067, allocations: 11.88 kB / 0.8472 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.2091, allocations: 1.47 MB / 0.8487 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.2091, allocations: 19.86 kB / 0.8487 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.2092, allocations: 7.984 kB / 0.8487 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.2097, allocations: 12 kB / 0.8487 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2098, allocations: 51.88 kB / 0.8488 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.2099, allocations: 28 kB / 0.8488 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.2099, allocations: 83.34 kB / 0.8489 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2099, allocations: 0 / 0.8489 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005588/0.2105, allocations: 179.7 kB / 0.849 GB, free: 7.918 MB / 0.5919 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 (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.0004876/0.211, allocations: 227.6 kB / 0.8492 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.2122, allocations: 0.7145 MB / 0.8499 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2122, allocations: 0 / 0.8499 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.2128, allocations: 403.6 kB / 0.8503 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2131, allocations: 12 kB / 0.8503 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.2165, allocations: 0.8265 MB / 0.8512 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.629e-05/0.2166, allocations: 103.5 kB / 0.8512 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/0.2171, allocations: 95.41 kB / 0.8513 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.2171, allocations: 0 / 0.8513 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of Templates: time 0.01041/0.2275, allocations: 7.139 MB / 0.8583 GB, free: 14.43 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.249734568875283] Failed to read output from testmodel.py, exit status != 0: 0.23478646716102958 0.249004573 0.07343574 Calling exit ...