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.001018/0.001018, allocations: 99.86 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.00114/0.001141, 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.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.5718/0.5718, allocations: 95.56 MB / 365.9 MB, free: 10.38 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.0008833/0.0008834, allocations: 16 kB / 446.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3083, allocations: 70.33 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0005621/0.3089, allocations: 277.7 kB / 0.5053 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002265/0.3091, allocations: 93.55 kB / 0.5054 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.3092, allocations: 3.938 kB / 0.5054 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.3092, allocations: 0 / 0.5054 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.794e-05/0.3092, allocations: 0 / 0.5054 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.3095, allocations: 23.92 kB / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.685e-05/0.3095, allocations: 4 kB / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.3095, allocations: 7.984 kB / 0.5054 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.3096, allocations: 0 / 0.5054 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.3096, allocations: 11.92 kB / 0.5054 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.3096, allocations: 0 / 0.5054 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.3097, allocations: 19.97 kB / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.3097, allocations: 0 / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.3097, allocations: 25.7 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.305e-05/0.3098, allocations: 15.98 kB / 0.5055 GB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.3098, allocations: 4 kB / 0.5055 GB, free: 16.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3098, allocations: 0 / 0.5055 GB, free: 16.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.3098, allocations: 0 / 0.5055 GB, free: 16.03 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.0002784/0.3101, allocations: 319.3 kB / 0.5058 GB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3101, allocations: 11.98 kB / 0.5058 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.3102, allocations: 4 kB / 0.5058 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.668e-05/0.3103, allocations: 161 kB / 0.5059 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3103, allocations: 0 / 0.5059 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.3103, allocations: 4 kB / 0.5059 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3104, allocations: 49.58 kB / 0.506 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3105, allocations: 0 / 0.506 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.3105, allocations: 0 / 0.506 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3105, allocations: 0 / 0.506 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.456e-05/0.3106, allocations: 19.92 kB / 0.506 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.3107, allocations: 149.7 kB / 0.5062 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3109, allocations: 46.59 kB / 0.5062 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/0.3112, allocations: 413.7 kB / 0.5066 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.3113, allocations: 38.48 kB / 0.5066 GB, free: 14.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.3113, allocations: 3.984 kB / 0.5066 GB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002348/0.3115, allocations: 57.64 kB / 0.5067 GB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.3115, allocations: 51.41 kB / 0.5067 GB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.486e-05/0.3116, allocations: 93.84 kB / 0.5068 GB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.3116, allocations: 33.7 kB / 0.5069 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.292e-05/0.3116, allocations: 80.14 kB / 0.5069 GB, free: 14.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3116, allocations: 3.906 kB / 0.5069 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.3117, allocations: 0 / 0.5069 GB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.3117, allocations: 315 kB / 0.5072 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.3118, allocations: 11.98 kB / 0.5073 GB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.3118, allocations: 7.938 kB / 0.5073 GB, free: 13.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.3119, allocations: 7.938 kB / 0.5073 GB, free: 13.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3119, allocations: 0 / 0.5073 GB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001293/0.312, allocations: 53.58 kB / 0.5073 GB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.312, allocations: 8 kB / 0.5073 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.312, allocations: 0 / 0.5073 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.312, allocations: 7.953 kB / 0.5073 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.3121, allocations: 8 kB / 0.5073 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.3121, allocations: 0 / 0.5073 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.3122, allocations: 7.922 kB / 0.5074 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3122, allocations: 8 kB / 0.5074 GB, free: 13.79 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 4.126e-05/0.3122, allocations: 105.8 kB / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.3122, allocations: 0 / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.3124, allocations: 57.11 kB / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3124, allocations: 7.953 kB / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3124, allocations: 0 / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3124, allocations: 4 kB / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.512e-05/0.3125, allocations: 153.7 kB / 0.5077 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3125, allocations: 0 / 0.5077 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.3125, allocations: 8 kB / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3125, allocations: 0 / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.3126, allocations: 3.938 kB / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3126, allocations: 0 / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3126, allocations: 3.953 kB / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3127, allocations: 85.05 kB / 0.5078 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.3127, allocations: 77.11 kB / 0.5078 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.3127, allocations: 0 / 0.5078 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.3128, allocations: 0 / 0.5078 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.3128, allocations: 7.984 kB / 0.5078 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3128, allocations: 3.953 kB / 0.5079 GB, free: 13.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.322e-05/0.3128, allocations: 75.28 kB / 0.5079 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3128, allocations: 4.094 kB / 0.5079 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.313, allocations: 12 kB / 0.5079 GB, free: 13.09 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.0001213/0.3132, allocations: 99.25 kB / 0.508 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3133, allocations: 12.41 kB / 0.508 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3133, allocations: 4 kB / 0.508 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.3134, allocations: 15.92 kB / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.508e-05/0.3135, allocations: 4 kB / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.3137, allocations: 98.92 kB / 0.5082 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.675e-05/0.3138, allocations: 0.6731 MB / 0.5088 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.3138, allocations: 3.984 kB / 0.5088 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.3139, allocations: 11.44 kB / 0.5088 GB, free: 12.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3139, allocations: 7.938 kB / 0.5088 GB, free: 12.1 MB / 382.1 MB Notification: Performance of Templates: time 0.00192/0.3158, allocations: 350.9 kB / 0.5092 GB, free: 11.76 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: