Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009465/0.0009465, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001184/0.001184, allocations: 168.7 kB / 15.95 MB, free: 204 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.939/1.939, allocations: 205.4 MB / 222.1 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7413/0.7413, allocations: 95.62 MB / 366 MB, free: 10.32 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005886/0.0005889, allocations: 20.2 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5043, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008896/0.5053, allocations: 281 kB / 0.5053 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003673/0.5057, allocations: 94.84 kB / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.5057, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.5057, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.386e-05/0.5058, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.5062, allocations: 23.91 kB / 0.5055 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.5062, allocations: 7.984 kB / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.5063, allocations: 0 / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.5063, allocations: 4 kB / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.5064, allocations: 7.938 kB / 0.5055 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.5064, allocations: 4 kB / 0.5055 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.5065, allocations: 19.97 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.5065, allocations: 3.984 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.5066, allocations: 25.7 kB / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.5067, allocations: 11.98 kB / 0.5055 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.5067, allocations: 8 kB / 0.5056 GB, free: 16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5067, allocations: 0 / 0.5056 GB, free: 16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.5067, allocations: 0 / 0.5056 GB, free: 16 MB / 382.1 MB 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.0003831/0.5071, allocations: 323.3 kB / 0.5059 GB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5072, allocations: 15.92 kB / 0.5059 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.5072, allocations: 4 kB / 0.5059 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5073, allocations: 161 kB / 0.506 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.5074, allocations: 0 / 0.506 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.5074, allocations: 4 kB / 0.506 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.5076, allocations: 49.62 kB / 0.5061 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5076, allocations: 11.92 kB / 0.5061 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5076, allocations: 0 / 0.5061 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5076, allocations: 0 / 0.5061 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.655e-05/0.5077, allocations: 11.98 kB / 0.5061 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.5079, allocations: 149.7 kB / 0.5062 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.5081, allocations: 46.53 kB / 0.5063 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.5081, allocations: 12.92 kB / 0.5063 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/0.5086, allocations: 417.5 kB / 0.5067 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.5086, allocations: 38.45 kB / 0.5067 GB, free: 14.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5086, allocations: 4 kB / 0.5067 GB, free: 14.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002758/0.5089, allocations: 53.67 kB / 0.5068 GB, free: 14.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5089, allocations: 51.41 kB / 0.5068 GB, free: 14.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.509, allocations: 97.86 kB / 0.5069 GB, free: 14.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.509, allocations: 25.7 kB / 0.507 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.509, allocations: 80.14 kB / 0.507 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.5091, allocations: 7.891 kB / 0.507 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5091, allocations: 4.125 kB / 0.507 GB, free: 14.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.5092, allocations: 310.8 kB / 0.5073 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.5092, allocations: 8 kB / 0.5074 GB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.5093, allocations: 7.984 kB / 0.5074 GB, free: 13.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.5093, allocations: 4 kB / 0.5074 GB, free: 13.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5093, allocations: 3.938 kB / 0.5074 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001399/0.5095, allocations: 57.58 kB / 0.5074 GB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5095, allocations: 4 kB / 0.5074 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5095, allocations: 7.953 kB / 0.5074 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5095, allocations: 0 / 0.5074 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.5096, allocations: 4 kB / 0.5074 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5096, allocations: 0 / 0.5074 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.5097, allocations: 11.94 kB / 0.5075 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.5097, allocations: 0 / 0.5075 GB, free: 13.75 MB / 382.1 MB 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 (3): * Single equations (assignments): 3 * 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 6.751e-05/0.5097, allocations: 109.8 kB / 0.5076 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.5098, allocations: 4 kB / 0.5076 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.5099, allocations: 53.12 kB / 0.5076 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.51, allocations: 7.953 kB / 0.5076 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.51, allocations: 0 / 0.5076 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.51, allocations: 3.984 kB / 0.5076 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.5101, allocations: 153.6 kB / 0.5078 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5101, allocations: 0 / 0.5078 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.5101, allocations: 7.984 kB / 0.5078 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5101, allocations: 384 / 0.5078 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.5101, allocations: 0 / 0.5078 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5101, allocations: 3.938 kB / 0.5078 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5102, allocations: 7.953 kB / 0.5078 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.5103, allocations: 81.05 kB / 0.5079 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.5104, allocations: 81.09 kB / 0.5079 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5104, allocations: 0 / 0.5079 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.5104, allocations: 0 / 0.5079 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.5105, allocations: 7.953 kB / 0.5079 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.5105, allocations: 0 / 0.5079 GB, free: 13.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.13e-05/0.5105, allocations: 79.28 kB / 0.508 GB, free: 13.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5105, allocations: 0 / 0.508 GB, free: 13.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.5107, allocations: 12 kB / 0.508 GB, free: 13.04 MB / 382.1 MB 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 (3): * Single equations (assignments): 3 * 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.0001652/0.5109, allocations: 107.2 kB / 0.5081 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.511, allocations: 19.98 kB / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.511, allocations: 0 / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.828e-05/0.5111, allocations: 12.02 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.5113, allocations: 10.03 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.5116, allocations: 94.66 kB / 0.5083 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.5117, allocations: 0.677 MB / 0.5089 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.18e-05/0.5118, allocations: 0 / 0.5089 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.5118, allocations: 15.44 kB / 0.5089 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5118, allocations: 0 / 0.5089 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.00259/0.5144, allocations: 359.9 kB / 0.5093 GB, free: 11.7 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: