Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.000958, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 197.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 251.7 MB / 0.5092 GB, free: 3.133 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 75.89 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3524, allocations: 104.7 MB / 0.7245 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00214/0.3546, allocations: 1.437 MB / 0.7259 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3556, allocations: 0.8387 MB / 0.7267 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.3557, allocations: 3.938 kB / 0.7267 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.3557, allocations: 0 / 0.7267 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.662e-05/0.3558, allocations: 3.938 kB / 0.7267 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3561, allocations: 139.4 kB / 0.7269 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.306e-05/0.3562, allocations: 23.98 kB / 0.7269 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.3563, allocations: 7.984 kB / 0.7269 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.3563, allocations: 12 kB / 0.7269 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.3564, allocations: 23.89 kB / 0.7269 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3564, allocations: 4 kB / 0.7269 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.3568, allocations: 319.3 kB / 0.7273 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.3568, allocations: 4 kB / 0.7273 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.3568, allocations: 19.91 kB / 0.7273 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3571, allocations: 197.7 kB / 0.7275 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3571, allocations: 4 kB / 0.7275 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3571, allocations: 0 / 0.7275 GB, free: 10.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.3571, allocations: 0 / 0.7275 GB, free: 10.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004338/0.3575, allocations: 371.4 kB / 0.7278 GB, free: 9.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.3576, allocations: 8.031 kB / 0.7278 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.358, allocations: 72.75 kB / 0.7279 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.3581, allocations: 168.4 kB / 0.7281 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3581, allocations: 4.375 kB / 0.7281 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.3581, allocations: 384 / 0.7281 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3584, allocations: 85.94 kB / 0.7281 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3584, allocations: 0 / 0.7281 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3585, allocations: 0 / 0.7281 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.3585, allocations: 3.938 kB / 0.7281 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.3589, allocations: 95.84 kB / 0.7282 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.3593, allocations: 300.8 kB / 0.7285 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.3596, allocations: 98.5 kB / 0.7286 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3598, allocations: 52.86 kB / 0.7287 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3599, allocations: 4 kB / 0.7287 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3599, allocations: 34.5 kB / 0.7287 GB, free: 8.621 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3599, allocations: 0 / 0.7287 GB, free: 8.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006657/0.3606, allocations: 173.5 kB / 0.7289 GB, free: 8.445 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.3606, allocations: 51.41 kB / 0.7289 GB, free: 8.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.3607, allocations: 101.8 kB / 0.729 GB, free: 8.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3607, allocations: 29.7 kB / 0.729 GB, free: 8.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.3607, allocations: 80.14 kB / 0.7291 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.3607, allocations: 7.906 kB / 0.7291 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.3608, allocations: 13.72 kB / 0.7291 GB, free: 8.129 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.3609, allocations: 314.8 kB / 0.7294 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3611, allocations: 51.98 kB / 0.7295 GB, free: 7.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.3613, allocations: 43.95 kB / 0.7295 GB, free: 7.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.3616, allocations: 96.7 kB / 0.7296 GB, free: 7.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3616, allocations: 256 / 0.7296 GB, free: 7.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004112/0.3621, allocations: 121.6 kB / 0.7297 GB, free: 7.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3621, allocations: 4 kB / 0.7297 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3621, allocations: 4 kB / 0.7298 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3621, allocations: 4 kB / 0.7298 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3622, allocations: 20 kB / 0.7298 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3623, allocations: 4 kB / 0.7298 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3624, allocations: 19.92 kB / 0.7298 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3624, allocations: 3.984 kB / 0.7298 GB, free: 7.438 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 5.527e-05/0.3624, allocations: 113.8 kB / 0.7299 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3625, allocations: 7.938 kB / 0.7299 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.3625, allocations: 3.125 kB / 0.7299 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3625, allocations: 4 kB / 0.7299 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3625, allocations: 0 / 0.7299 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3625, allocations: 7.875 kB / 0.7299 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3627, allocations: 173.6 kB / 0.7301 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3627, allocations: 0 / 0.7301 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3628, allocations: 23.97 kB / 0.7301 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3628, allocations: 0 / 0.7301 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3628, allocations: 0 / 0.7301 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.3628, allocations: 4 kB / 0.7301 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3628, allocations: 0 / 0.7301 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.3633, allocations: 223.3 kB / 0.7303 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.3633, allocations: 81.11 kB / 0.7304 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3633, allocations: 0 / 0.7304 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3635, allocations: 19.97 kB / 0.7304 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.3635, allocations: 8.031 kB / 0.7304 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3635, allocations: 0 / 0.7304 GB, free: 6.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.966e-05/0.3636, allocations: 83.27 kB / 0.7305 GB, free: 6.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3636, allocations: 0 / 0.7305 GB, free: 6.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002128/0.3638, allocations: 12 kB / 0.7305 GB, free: 6.598 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001165/0.3639, allocations: 111.2 kB / 0.7306 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.3643, allocations: 95.89 kB / 0.7307 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3643, allocations: 0 / 0.7307 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3645, allocations: 52.02 kB / 0.7308 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.3648, allocations: 9.969 kB / 0.7308 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.3653, allocations: 165.4 kB / 0.7309 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.3655, allocations: 0.6806 MB / 0.7316 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.3655, allocations: 12 kB / 0.7316 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3656, allocations: 15.42 kB / 0.7316 GB, free: 5.402 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.3656, allocations: 0 / 0.7316 GB, free: 5.402 MB / 0.545 GB Notification: Performance of Templates: time 0.002404/0.368, allocations: 0.8086 MB / 0.7324 GB, free: 4.598 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)