Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 110.5 kB / 16.42 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 186.1 kB / 17.36 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.297/2.297, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/1.982e-05, allocations: 2.281 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001353/0.001381, allocations: 0.6583 MB / 1.055 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.00306, allocations: 1.454 MB / 1.057 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.003103, allocations: 3.938 kB / 1.057 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.003125, allocations: 3.938 kB / 1.057 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.003192, allocations: 3.938 kB / 1.057 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.003622, allocations: 123.5 kB / 1.057 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.133e-05/0.003702, allocations: 31.95 kB / 1.057 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.003742, allocations: 0 / 1.057 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.003781, allocations: 19.92 kB / 1.057 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.003833, allocations: 15.86 kB / 1.057 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.003851, allocations: 4 kB / 1.057 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.004256, allocations: 315.4 kB / 1.057 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of combineBinaries: time 6.143e-05/0.004326, allocations: 63.25 kB / 1.057 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.772e-05/0.004351, allocations: 39.47 kB / 1.057 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.22e-05/0.004367, allocations: 3.938 kB / 1.057 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.398e-06/0.004382, allocations: 4 kB / 1.057 GB, free: 4.969 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.000293/0.004679, allocations: 280.1 kB / 1.058 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 4.956e-05/0.004734, allocations: 15.89 kB / 1.058 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001554/0.004895, allocations: 148.2 kB / 1.058 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simplify1: time 1.297e-05/0.004915, allocations: 7.984 kB / 1.058 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of Alias: time 0.000237/0.005157, allocations: 120.6 kB / 1.058 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simplify2: time 2.358e-05/0.005189, allocations: 19.97 kB / 1.058 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of Events: time 0.0001297/0.005324, allocations: 76.06 kB / 1.058 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001135/0.005446, allocations: 72.12 kB / 1.058 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of Partitioning: time 7.276e-05/0.005526, allocations: 60.17 kB / 1.058 GB, free: 3.98 MB / 0.8262 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [DER-] (1) Real $DER.dy_dt slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) y = if $SEV_0 then 1/((-1.0) + 2.0 * time) else if $SEV_1 then ((-1.0) + 2.0 * time) / (delta * delta) else Buildings.Utilities.Math.Functions.BaseClasses.smoothTransition((-1.0) + 2.0 * time, delta, deltaInv, a, b, c, d, e, f) ($RES_SIM_2) slice: {}