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.0007212/0.0007212, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004297/0.004297, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.195/1.195, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.346/1.346, allocations: 252 MB / 0.5105 GB, free: 4.66 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.0004708/0.0004707, allocations: 16 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3845, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001389/0.3859, allocations: 1.16 MB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3871, allocations: 0.8506 MB / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.3871, allocations: 0 / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.3871, allocations: 0 / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.3872, allocations: 3.938 kB / 0.7307 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3875, allocations: 103.7 kB / 0.7308 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.3876, allocations: 35.91 kB / 0.7308 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.321e-05/0.3877, allocations: 3.984 kB / 0.7308 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.3877, allocations: 15.98 kB / 0.7308 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.3878, allocations: 15.92 kB / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.3878, allocations: 0 / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.3882, allocations: 315.3 kB / 0.7312 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.3882, allocations: 8 kB / 0.7312 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.3882, allocations: 37.62 kB / 0.7312 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3885, allocations: 201.6 kB / 0.7314 GB, free: 8.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3885, allocations: 0 / 0.7314 GB, free: 8.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3885, allocations: 0 / 0.7314 GB, free: 8.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3885, allocations: 0 / 0.7314 GB, free: 8.469 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.0004558/0.389, allocations: 375.4 kB / 0.7318 GB, free: 8.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.389, allocations: 12.03 kB / 0.7318 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.3895, allocations: 84.84 kB / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3896, allocations: 164.3 kB / 0.732 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3896, allocations: 4.375 kB / 0.732 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3896, allocations: 384 / 0.732 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3899, allocations: 101.9 kB / 0.7321 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.39, allocations: 3.984 kB / 0.7321 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.39, allocations: 3.938 kB / 0.7321 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.39, allocations: 0 / 0.7321 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.3904, allocations: 111.9 kB / 0.7322 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.3909, allocations: 308.8 kB / 0.7325 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.3913, allocations: 114.5 kB / 0.7326 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3915, allocations: 64.88 kB / 0.7327 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3915, allocations: 0 / 0.7327 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3916, allocations: 34.55 kB / 0.7327 GB, free: 6.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.3916, allocations: 0 / 0.7327 GB, free: 6.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007073/0.3923, allocations: 209.5 kB / 0.7329 GB, free: 6.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3923, allocations: 51.41 kB / 0.733 GB, free: 6.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.3924, allocations: 105.8 kB / 0.7331 GB, free: 6.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3924, allocations: 25.7 kB / 0.7331 GB, free: 6.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.3925, allocations: 88.05 kB / 0.7332 GB, free: 6.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.3925, allocations: 4 kB / 0.7332 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.3925, allocations: 9.719 kB / 0.7332 GB, free: 6.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.3926, allocations: 314.8 kB / 0.7335 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3928, allocations: 59.98 kB / 0.7335 GB, free: 6.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.393, allocations: 55.95 kB / 0.7336 GB, free: 5.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.3934, allocations: 120.8 kB / 0.7337 GB, free: 5.875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3934, allocations: 0 / 0.7337 GB, free: 5.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004403/0.3939, allocations: 153.4 kB / 0.7339 GB, free: 5.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3939, allocations: 4 kB / 0.7339 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3939, allocations: 4 kB / 0.7339 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.3939, allocations: 0 / 0.7339 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3941, allocations: 28 kB / 0.7339 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3941, allocations: 4 kB / 0.7339 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.3942, allocations: 23.92 kB / 0.7339 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3942, allocations: 4.234 kB / 0.7339 GB, free: 5.652 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 6.238e-05/0.3943, allocations: 117.8 kB / 0.734 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3943, allocations: 4 kB / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.3944, allocations: 3.125 kB / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3944, allocations: 0 / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3944, allocations: 7.938 kB / 0.7341 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3944, allocations: 0 / 0.7341 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3945, allocations: 173.6 kB / 0.7342 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3946, allocations: 0 / 0.7342 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3947, allocations: 31.97 kB / 0.7342 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3947, allocations: 0 / 0.7342 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3947, allocations: 0 / 0.7342 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3947, allocations: 4 kB / 0.7343 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3947, allocations: 3.938 kB / 0.7343 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.3952, allocations: 243.4 kB / 0.7345 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.3953, allocations: 81.02 kB / 0.7346 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.3953, allocations: 4 kB / 0.7346 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.3954, allocations: 28 kB / 0.7346 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.3955, allocations: 4 kB / 0.7346 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.3955, allocations: 0 / 0.7346 GB, free: 4.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.3955, allocations: 83.27 kB / 0.7347 GB, free: 4.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3955, allocations: 0 / 0.7347 GB, free: 4.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002193/0.3958, allocations: 12 kB / 0.7347 GB, free: 4.777 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.0001421/0.3959, allocations: 115.2 kB / 0.7348 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.3964, allocations: 119.8 kB / 0.7349 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3964, allocations: 0 / 0.7349 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.3966, allocations: 64.02 kB / 0.735 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.3969, allocations: 7.938 kB / 0.735 GB, free: 4.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.3974, allocations: 180.7 kB / 0.7352 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.3976, allocations: 0.6809 MB / 0.7358 GB, free: 3.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.861e-05/0.3977, allocations: 8 kB / 0.7358 GB, free: 3.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.3977, allocations: 15.44 kB / 0.7358 GB, free: 3.535 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.3977, allocations: 0 / 0.7358 GB, free: 3.535 MB / 0.545 GB Notification: Performance of Templates: time 0.002711/0.4004, allocations: 0.7362 MB / 0.7366 GB, free: 2.805 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: