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.0012/0.0012, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001511/0.001511, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.629/1.629, allocations: 251.9 MB / 0.51 GB, free: 4.785 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.0005409/0.000541, allocations: 24 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5714, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001744/0.5732, allocations: 1.156 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.5744, allocations: 0.7811 MB / 0.7299 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.5744, allocations: 0 / 0.7299 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.5745, allocations: 0 / 0.7299 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.5745, allocations: 3.984 kB / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.575, allocations: 103.7 kB / 0.73 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.575, allocations: 23.97 kB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.5751, allocations: 4 kB / 0.73 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.5752, allocations: 23.91 kB / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.5753, allocations: 11.98 kB / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.5753, allocations: 4 kB / 0.73 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.5758, allocations: 303.5 kB / 0.7303 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.5758, allocations: 15.92 kB / 0.7303 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.5759, allocations: 25.7 kB / 0.7304 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.5761, allocations: 141.8 kB / 0.7305 GB, free: 8.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5761, allocations: 4 kB / 0.7305 GB, free: 8.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.896e-06/0.5761, allocations: 0 / 0.7305 GB, free: 8.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5762, allocations: 0 / 0.7305 GB, free: 8.785 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.0006541/0.5768, allocations: 382.3 kB / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5769, allocations: 11.97 kB / 0.7309 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.5774, allocations: 83.92 kB / 0.7309 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.5776, allocations: 170.9 kB / 0.7311 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.5776, allocations: 0 / 0.7311 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.5776, allocations: 4 kB / 0.7311 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.578, allocations: 97.56 kB / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.578, allocations: 0 / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.5781, allocations: 4 kB / 0.7312 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5781, allocations: 0 / 0.7312 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.5785, allocations: 111.9 kB / 0.7313 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.5792, allocations: 312.8 kB / 0.7316 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.5797, allocations: 110.5 kB / 0.7317 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.5797, allocations: 0 / 0.7317 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.5797, allocations: 38.62 kB / 0.7318 GB, free: 7.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.5798, allocations: 0 / 0.7318 GB, free: 7.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0008245/0.5806, allocations: 205.6 kB / 0.732 GB, free: 7.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5807, allocations: 55.36 kB / 0.732 GB, free: 7.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.5808, allocations: 109.8 kB / 0.7321 GB, free: 6.938 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.5808, allocations: 25.7 kB / 0.7321 GB, free: 6.906 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.5809, allocations: 84.14 kB / 0.7322 GB, free: 6.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5809, allocations: 3.906 kB / 0.7322 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.5809, allocations: 4 kB / 0.7322 GB, free: 6.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5811, allocations: 310.8 kB / 0.7325 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.5813, allocations: 55.95 kB / 0.7326 GB, free: 6.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.5815, allocations: 63.94 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.5818, allocations: 52.02 kB / 0.7327 GB, free: 6.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5818, allocations: 0 / 0.7327 GB, free: 6.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004709/0.5822, allocations: 153.5 kB / 0.7328 GB, free: 6.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5823, allocations: 4 kB / 0.7328 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5823, allocations: 3.938 kB / 0.7328 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5823, allocations: 3.984 kB / 0.7328 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5825, allocations: 28.02 kB / 0.7329 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5825, allocations: 3.953 kB / 0.7329 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.5826, allocations: 28.16 kB / 0.7329 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.5826, allocations: 0 / 0.7329 GB, free: 6.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.5827, allocations: 109.8 kB / 0.733 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.5828, allocations: 4 kB / 0.733 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.5828, allocations: 15.11 kB / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5828, allocations: 0 / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5828, allocations: 4 kB / 0.733 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5828, allocations: 3.953 kB / 0.733 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.583, allocations: 165.7 kB / 0.7332 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.583, allocations: 0 / 0.7332 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.5832, allocations: 27.97 kB / 0.7332 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5832, allocations: 4 kB / 0.7332 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5832, allocations: 3.984 kB / 0.7332 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5832, allocations: 0 / 0.7332 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5832, allocations: 3.938 kB / 0.7332 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.5837, allocations: 243.4 kB / 0.7335 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.5838, allocations: 92.98 kB / 0.7335 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.5838, allocations: 0 / 0.7335 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.584, allocations: 27.95 kB / 0.7336 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.584, allocations: 3.984 kB / 0.7336 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.584, allocations: 4 kB / 0.7336 GB, free: 5.316 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.5841, allocations: 79.28 kB / 0.7337 GB, free: 5.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5841, allocations: 4 kB / 0.7337 GB, free: 5.234 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002371/0.5843, allocations: 8 kB / 0.7337 GB, free: 5.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002003/0.5845, allocations: 115.2 kB / 0.7338 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.585, allocations: 119.9 kB / 0.7339 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5851, allocations: 0 / 0.7339 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.5853, allocations: 63.94 kB / 0.734 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.5855, allocations: 4 kB / 0.734 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.5862, allocations: 176.7 kB / 0.7341 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5865, allocations: 0.6809 MB / 0.7348 GB, free: 4.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.5866, allocations: 8 kB / 0.7348 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.5867, allocations: 7.438 kB / 0.7348 GB, free: 4 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5867, allocations: 4 kB / 0.7348 GB, free: 3.996 MB / 0.545 GB Notification: Performance of Templates: time 0.00293/0.5896, allocations: 0.7097 MB / 0.7355 GB, free: 3.289 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: