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.001824/0.001824, allocations: 101.4 kB / 15.7 MB, free: 28 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.002199/0.002199, allocations: 197 kB / 16.64 MB, free: 6.438 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.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.6358/0.6358, allocations: 95.47 MB / 365.3 MB, free: 9.793 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.001856/0.001856, allocations: 67.91 kB / 446.1 MB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4055, allocations: 69.09 MB / 0.5031 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002598/0.4081, allocations: 0.5482 MB / 0.5037 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003295/0.4085, allocations: 99.7 kB / 0.5038 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.4086, allocations: 4 kB / 0.5038 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.4086, allocations: 0 / 0.5038 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.4087, allocations: 3.938 kB / 0.5038 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.4091, allocations: 23.92 kB / 0.5038 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.4091, allocations: 11.98 kB / 0.5038 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/0.4092, allocations: 4 kB / 0.5038 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.4092, allocations: 3.984 kB / 0.5038 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.4093, allocations: 7.984 kB / 0.5038 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.4093, allocations: 4 kB / 0.5038 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.4094, allocations: 19.98 kB / 0.5038 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.4094, allocations: 7.938 kB / 0.5039 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.4095, allocations: 3.938 kB / 0.5039 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.4096, allocations: 23.95 kB / 0.5039 GB, free: 16.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4096, allocations: 0 / 0.5039 GB, free: 16.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4096, allocations: 0 / 0.5039 GB, free: 16.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.4096, allocations: 0 / 0.5039 GB, free: 16.68 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.0004167/0.41, allocations: 323.5 kB / 0.5042 GB, free: 16.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4101, allocations: 19.92 kB / 0.5042 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.4102, allocations: 0.9375 kB / 0.5042 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4103, allocations: 164.4 kB / 0.5044 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4103, allocations: 4.375 kB / 0.5044 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4103, allocations: 3.938 kB / 0.5044 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.4105, allocations: 33.69 kB / 0.5044 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4105, allocations: 7.984 kB / 0.5044 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4105, allocations: 0 / 0.5044 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.4105, allocations: 0 / 0.5044 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.4107, allocations: 23.92 kB / 0.5044 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.4108, allocations: 147.5 kB / 0.5046 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.411, allocations: 50.47 kB / 0.5046 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.4111, allocations: 11.98 kB / 0.5046 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004387/0.4115, allocations: 421.5 kB / 0.505 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4115, allocations: 34.56 kB / 0.5051 GB, free: 15.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4116, allocations: 0 / 0.5051 GB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002797/0.4118, allocations: 53.61 kB / 0.5051 GB, free: 15.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4119, allocations: 55.41 kB / 0.5052 GB, free: 15.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.573e-05/0.4119, allocations: 89.86 kB / 0.5053 GB, free: 14.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.4119, allocations: 29.83 kB / 0.5053 GB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.219e-05/0.412, allocations: 80.14 kB / 0.5054 GB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.412, allocations: 15.89 kB / 0.5054 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.412, allocations: 9.719 kB / 0.5054 GB, free: 14.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.4121, allocations: 314.8 kB / 0.5057 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.4122, allocations: 7.984 kB / 0.5057 GB, free: 14.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.4122, allocations: 4 kB / 0.5057 GB, free: 14.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.4123, allocations: 33.11 kB / 0.5057 GB, free: 14.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4123, allocations: 0 / 0.5057 GB, free: 14.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001368/0.4124, allocations: 57.47 kB / 0.5058 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4125, allocations: 4 kB / 0.5058 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4125, allocations: 0 / 0.5058 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4125, allocations: 0 / 0.5058 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.4126, allocations: 7.984 kB / 0.5058 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4126, allocations: 4 kB / 0.5058 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.4126, allocations: 3.938 kB / 0.5058 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.4126, allocations: 4 kB / 0.5058 GB, free: 14.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.697e-05/0.4127, allocations: 121.7 kB / 0.5059 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.4127, allocations: 0 / 0.5059 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.4129, allocations: 57.11 kB / 0.506 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4129, allocations: 0 / 0.506 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4129, allocations: 0 / 0.506 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4129, allocations: 0 / 0.506 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.411e-05/0.413, allocations: 161.6 kB / 0.5061 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.413, allocations: 0 / 0.5061 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.4131, allocations: 8 kB / 0.5061 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4131, allocations: 0 / 0.5061 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4131, allocations: 4 kB / 0.5061 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4131, allocations: 0 / 0.5061 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4131, allocations: 0 / 0.5061 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.4133, allocations: 73.05 kB / 0.5062 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.4133, allocations: 85.05 kB / 0.5063 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.4133, allocations: 8 kB / 0.5063 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.4133, allocations: 3.984 kB / 0.5063 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.4134, allocations: 3.938 kB / 0.5063 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.4134, allocations: 0 / 0.5063 GB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.567e-05/0.4134, allocations: 79.28 kB / 0.5064 GB, free: 13.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4134, allocations: 0 / 0.5064 GB, free: 13.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.4136, allocations: 4 kB / 0.5064 GB, free: 13.68 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 (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.0001479/0.4137, allocations: 99.34 kB / 0.5065 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.4139, allocations: 27.97 kB / 0.5065 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4139, allocations: 0 / 0.5065 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.955e-05/0.414, allocations: 15.94 kB / 0.5065 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.4141, allocations: 7.547 kB / 0.5065 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.4145, allocations: 108.8 kB / 0.5066 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.4146, allocations: 0.669 MB / 0.5073 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.4146, allocations: 11.98 kB / 0.5073 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.4147, allocations: 7.438 kB / 0.5073 GB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4147, allocations: 0 / 0.5073 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Templates: time 0.002407/0.4171, allocations: 388.8 kB / 0.5077 GB, free: 12.3 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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)