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.001361/0.001361, allocations: 71.91 kB / 20.51 MB, free: 1.285 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.00154/0.00154, allocations: 158.5 kB / 23.76 MB, free: 4.469 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.441/1.441, allocations: 177.2 MB / 204.1 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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.9303/0.9303, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 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: IBPSA 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.002184/0.002184, allocations: 61.72 kB / 0.5551 GB, free: 2.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.15, allocations: 89.14 MB / 0.6421 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001657/0.1517, allocations: 0.6069 MB / 0.6427 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1535, allocations: 1.307 MB / 0.644 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.1535, allocations: 4 kB / 0.644 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.1535, allocations: 0 / 0.644 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.1535, allocations: 3.938 kB / 0.644 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1539, allocations: 86.41 kB / 0.6441 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.154, allocations: 23.92 kB / 0.6441 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.154, allocations: 0 / 0.6441 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.154, allocations: 12 kB / 0.6441 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.1541, allocations: 15.91 kB / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1541, allocations: 0 / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1544, allocations: 115.9 kB / 0.6443 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1544, allocations: 8 kB / 0.6443 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1544, allocations: 11.92 kB / 0.6443 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1546, allocations: 75.72 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1546, allocations: 0 / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1546, allocations: 0 / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1546, allocations: 0 / 0.6443 GB, free: 7.219 MB / 0.545 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.0004412/0.155, allocations: 286.1 kB / 0.6446 GB, free: 6.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1551, allocations: 8.031 kB / 0.6446 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.1551, allocations: 4.938 kB / 0.6446 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.1552, allocations: 106.5 kB / 0.6447 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1552, allocations: 4.375 kB / 0.6447 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1552, allocations: 8.359 kB / 0.6447 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1554, allocations: 79.7 kB / 0.6448 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1554, allocations: 4 kB / 0.6448 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1554, allocations: 0 / 0.6448 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1554, allocations: 0 / 0.6448 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.1555, allocations: 27.91 kB / 0.6449 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1556, allocations: 117.2 kB / 0.645 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1557, allocations: 54.5 kB / 0.645 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.1558, allocations: 32.84 kB / 0.645 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.156, allocations: 39.97 kB / 0.6451 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1561, allocations: 34.56 kB / 0.6451 GB, free: 6.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1561, allocations: 0 / 0.6451 GB, free: 6.312 MB / 0.545 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.02079/0.1769, allocations: 4.187 MB / 0.6492 GB, free: 2.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1769, allocations: 51.41 kB / 0.6493 GB, free: 1.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.177, allocations: 93.86 kB / 0.6493 GB, free: 1.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.177, allocations: 29.64 kB / 0.6494 GB, free: 1.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1771, allocations: 84.14 kB / 0.6495 GB, free: 1.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1772, allocations: 63.47 kB / 0.6495 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.1774, allocations: 89.67 kB / 0.6496 GB, free: 1.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1776, allocations: 322.8 kB / 0.6499 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.1781, allocations: 312 kB / 0.6502 GB, free: 0.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.1787, allocations: 307.9 kB / 0.6505 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.1803, allocations: 0.7727 MB / 0.6513 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1804, allocations: 0 / 0.6513 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00165/0.182, allocations: 0.802 MB / 0.652 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.182, allocations: 4 kB / 0.652 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.182, allocations: 0 / 0.652 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.182, allocations: 4 kB / 0.652 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.1829, allocations: 95.88 kB / 0.6521 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1829, allocations: 0 / 0.6521 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.1835, allocations: 8 kB / 0.6521 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/0.1836, allocations: 35.98 kB / 0.6522 GB, free: 14.93 MB / 0.5606 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.0001893/0.1838, allocations: 125.7 kB / 0.6523 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/0.1838, allocations: 7.953 kB / 0.6523 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.187, allocations: 1.396 MB / 0.6537 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.187, allocations: 4 kB / 0.6537 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.187, allocations: 0 / 0.6537 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1871, allocations: 3.984 kB / 0.6537 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.1902, allocations: 1.66 MB / 0.6553 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1902, allocations: 0 / 0.6553 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.1911, allocations: 107.9 kB / 0.6554 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.1911, allocations: 11.98 kB / 0.6554 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.1912, allocations: 24 kB / 0.6554 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1912, allocations: 4 kB / 0.6554 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1912, allocations: 3.938 kB / 0.6554 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.1938, allocations: 1.466 MB / 0.6569 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.1938, allocations: 19.88 kB / 0.6569 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.1939, allocations: 11.94 kB / 0.6569 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.1945, allocations: 12 kB / 0.6569 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.1946, allocations: 47.89 kB / 0.657 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.1947, allocations: 27.98 kB / 0.657 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.1948, allocations: 79.28 kB / 0.6571 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1948, allocations: 0 / 0.6571 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006158/0.1954, allocations: 183.7 kB / 0.6572 GB, free: 9.664 MB / 0.5606 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.0005927/0.196, allocations: 235.5 kB / 0.6575 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.1973, allocations: 0.7159 MB / 0.6582 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1973, allocations: 4 kB / 0.6582 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.198, allocations: 399.7 kB / 0.6585 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1983, allocations: 12.75 kB / 0.6586 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.202, allocations: 0.7925 MB / 0.6593 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2021, allocations: 107.6 kB / 0.6594 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001043/0.2032, allocations: 289.5 kB / 0.6597 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.2037, allocations: 104.4 kB / 0.6598 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2037, allocations: 0 / 0.6598 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of Templates: time 0.01913/0.2228, allocations: 11.94 MB / 0.6715 GB, free: 11.09 MB / 0.5762 GB " [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=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.468532238039188] Failed to read output from testmodel.py, exit status != 0: 0.23141351505182683 0.24543809600000002 0.087890987 Calling exit ...