Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 190.7 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 287.3 kB / 307 MB, free: 8.379 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.256/1.256, allocations: 180.8 MB / 0.5304 GB, free: 14.43 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 100.2 kB / 0.7311 GB, free: 38.61 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1593, allocations: 94.21 MB / 0.8231 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001666/0.1609, allocations: 0.6186 MB / 0.8237 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1628, allocations: 1.464 MB / 0.8252 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.1629, allocations: 0 / 0.8252 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.1629, allocations: 8 kB / 0.8252 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.394e-05/0.1629, allocations: 0 / 0.8252 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.1634, allocations: 139.4 kB / 0.8253 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.488e-05/0.1634, allocations: 23.98 kB / 0.8253 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.1635, allocations: 11.98 kB / 0.8254 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.1635, allocations: 19.92 kB / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.1636, allocations: 23.95 kB / 0.8254 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1636, allocations: 4 kB / 0.8254 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1641, allocations: 263.5 kB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.1641, allocations: 11.98 kB / 0.8257 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1641, allocations: 3.938 kB / 0.8257 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1644, allocations: 183.5 kB / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1644, allocations: 0 / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1644, allocations: 0 / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.1644, allocations: 0 / 0.8258 GB, free: 15.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005078/0.1649, allocations: 295.7 kB / 0.8261 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.165, allocations: 12.62 kB / 0.8261 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.1654, allocations: 64.84 kB / 0.8262 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1655, allocations: 110.5 kB / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1655, allocations: 384 / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1656, allocations: 4.375 kB / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1659, allocations: 107.6 kB / 0.8264 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1659, allocations: 0 / 0.8264 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1659, allocations: 8 kB / 0.8264 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1659, allocations: 0 / 0.8264 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.1662, allocations: 67.86 kB / 0.8265 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1664, allocations: 140.6 kB / 0.8266 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.1671, allocations: 118.6 kB / 0.8267 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1672, allocations: 40.92 kB / 0.8268 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.1677, allocations: 87.88 kB / 0.8268 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1677, allocations: 34.5 kB / 0.8269 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1677, allocations: 4 kB / 0.8269 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001186/0.1689, allocations: 329 kB / 0.8272 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.1689, allocations: 55.34 kB / 0.8273 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.169, allocations: 97.86 kB / 0.8273 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.169, allocations: 25.7 kB / 0.8274 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.1691, allocations: 80.14 kB / 0.8274 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.1691, allocations: 23.84 kB / 0.8275 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1691, allocations: 17.84 kB / 0.8275 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1693, allocations: 322.8 kB / 0.8278 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1695, allocations: 31.97 kB / 0.8278 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1696, allocations: 35.97 kB / 0.8279 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.1699, allocations: 76.8 kB / 0.8279 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1699, allocations: 0 / 0.8279 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003832/0.1703, allocations: 113.6 kB / 0.828 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1703, allocations: 11.94 kB / 0.8281 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1703, allocations: 4 kB / 0.8281 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1704, allocations: 0 / 0.8281 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1705, allocations: 20.23 kB / 0.8281 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1705, allocations: 0 / 0.8281 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1706, allocations: 19.97 kB / 0.8281 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1706, allocations: 4 kB / 0.8281 GB, free: 12.54 MB / 0.5762 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 (6): * Single equations (assignments): 6 * 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 8.977e-05/0.1707, allocations: 114.5 kB / 0.8282 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1707, allocations: 7.891 kB / 0.8282 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.1712, allocations: 133.3 kB / 0.8283 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1712, allocations: 4 kB / 0.8283 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1712, allocations: 4 kB / 0.8283 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1712, allocations: 0 / 0.8283 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1714, allocations: 144.7 kB / 0.8285 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1714, allocations: 3.938 kB / 0.8285 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1715, allocations: 23.92 kB / 0.8285 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1715, allocations: 4 kB / 0.8285 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1715, allocations: 3.984 kB / 0.8285 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1715, allocations: 0 / 0.8285 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1715, allocations: 4 kB / 0.8285 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.1721, allocations: 177 kB / 0.8287 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.1722, allocations: 15.95 kB / 0.8287 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1722, allocations: 0 / 0.8287 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1723, allocations: 15.92 kB / 0.8287 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.1723, allocations: 8.047 kB / 0.8287 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/0.1723, allocations: 4 kB / 0.8287 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.1724, allocations: 83.28 kB / 0.8288 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1724, allocations: 0 / 0.8288 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002339/0.1726, allocations: 31.86 kB / 0.8288 GB, free: 11.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0002094/0.1728, allocations: 123.1 kB / 0.829 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.1732, allocations: 88.02 kB / 0.829 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1732, allocations: 0 / 0.829 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1734, allocations: 44.16 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1736, allocations: 4 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.1742, allocations: 189.5 kB / 0.8293 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1745, allocations: 0.6768 MB / 0.8299 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.143e-05/0.1746, allocations: 16 kB / 0.83 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.1746, allocations: 11.44 kB / 0.83 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.1746, allocations: 4 kB / 0.83 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.00381/0.1784, allocations: 1.205 MB / 0.8311 GB, free: 9.289 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.103052802034654] Failed to read output from testmodel.py, exit status != 0: 0.18602308293338865 0.20103478799999994 0.03343222299999994 Calling exit ...