Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.004642/0.004643, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.0009631/0.0009631, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.238/1.238, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.214/1.214, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.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.001311/0.001311, allocations: 67.91 kB / 0.7258 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5038, allocations: 104.7 MB / 0.8281 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001548/0.5054, allocations: 0.6382 MB / 0.8287 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.507, allocations: 1.5 MB / 0.8302 GB, free: 412 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.507, allocations: 0 / 0.8302 GB, free: 412 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.5071, allocations: 3.938 kB / 0.8302 GB, free: 408 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.5071, allocations: 3.984 kB / 0.8302 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.5075, allocations: 123.5 kB / 0.8303 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.705e-05/0.5076, allocations: 27.92 kB / 0.8303 GB, free: 252 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.5076, allocations: 3.938 kB / 0.8303 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.5076, allocations: 15.92 kB / 0.8303 GB, free: 232 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.5077, allocations: 19.91 kB / 0.8304 GB, free: 212 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.5077, allocations: 4 kB / 0.8304 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.5081, allocations: 319.4 kB / 0.8307 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.5082, allocations: 7.922 kB / 0.8307 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.5082, allocations: 19.86 kB / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.5084, allocations: 191.1 kB / 0.8309 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5085, allocations: 0 / 0.8309 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5085, allocations: 0 / 0.8309 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5085, allocations: 0 / 0.8309 GB, free: 15.68 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004395/0.5089, allocations: 377.7 kB / 0.8312 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.5089, allocations: 8.031 kB / 0.8312 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.5093, allocations: 60.77 kB / 0.8313 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.5094, allocations: 176.3 kB / 0.8315 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5095, allocations: 4.375 kB / 0.8315 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5095, allocations: 384 / 0.8315 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.5097, allocations: 73.95 kB / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5097, allocations: 0 / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5098, allocations: 8 kB / 0.8316 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5098, allocations: 0 / 0.8316 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.5101, allocations: 75.84 kB / 0.8316 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.5103, allocations: 173.6 kB / 0.8318 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.5108, allocations: 118.5 kB / 0.8319 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.511, allocations: 48.94 kB / 0.832 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.511, allocations: 0 / 0.832 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.511, allocations: 34.5 kB / 0.832 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 2.264e-06/0.511, allocations: 0 / 0.832 GB, free: 14.39 MB / 0.6387 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003716/0.5148, allocations: 0.7926 MB / 0.8328 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.5148, allocations: 55.41 kB / 0.8328 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.5149, allocations: 113.8 kB / 0.8329 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.5149, allocations: 25.7 kB / 0.8329 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.515, allocations: 92.12 kB / 0.833 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.515, allocations: 27.55 kB / 0.8331 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.5151, allocations: 25.7 kB / 0.8331 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.5152, allocations: 322.9 kB / 0.8334 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.5156, allocations: 103.8 kB / 0.8335 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.516, allocations: 99.83 kB / 0.8336 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.5168, allocations: 192.7 kB / 0.8338 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5168, allocations: 0 / 0.8338 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008349/0.5177, allocations: 241.4 kB / 0.834 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5177, allocations: 8 kB / 0.834 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5177, allocations: 3.984 kB / 0.834 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5177, allocations: 0 / 0.834 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.518, allocations: 55.94 kB / 0.8341 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.518, allocations: 0 / 0.8341 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.5182, allocations: 35.97 kB / 0.8341 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5183, allocations: 7.984 kB / 0.8341 GB, free: 12.15 MB / 0.6387 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 (9): * Single equations (assignments): 9 * 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 0.0001307/0.5184, allocations: 118.8 kB / 0.8342 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.5184, allocations: 7.906 kB / 0.8342 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.5185, allocations: 12.38 kB / 0.8342 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5185, allocations: 0 / 0.8342 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5185, allocations: 0 / 0.8342 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5185, allocations: 3.984 kB / 0.8342 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.52, allocations: 0.5935 MB / 0.8348 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.52, allocations: 4 kB / 0.8348 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.5203, allocations: 55.94 kB / 0.8349 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5203, allocations: 4.281 kB / 0.8349 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5203, allocations: 4 kB / 0.8349 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5203, allocations: 4 kB / 0.8349 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5203, allocations: 3.938 kB / 0.8349 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.5212, allocations: 344.9 kB / 0.8352 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.5213, allocations: 81.02 kB / 0.8353 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.5213, allocations: 7.984 kB / 0.8353 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.5215, allocations: 35.95 kB / 0.8353 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.5216, allocations: 11.92 kB / 0.8354 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5216, allocations: 11.98 kB / 0.8354 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.5216, allocations: 87.28 kB / 0.8354 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5216, allocations: 4 kB / 0.8355 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002678/0.5219, allocations: 35.98 kB / 0.8355 GB, free: 10.62 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001882/0.5221, allocations: 139.1 kB / 0.8356 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009055/0.523, allocations: 203.8 kB / 0.8358 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.523, allocations: 0 / 0.8358 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.5235, allocations: 112 kB / 0.8359 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.5237, allocations: 8 kB / 0.8359 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.5251, allocations: 398.3 kB / 0.8363 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.5253, allocations: 0.6922 MB / 0.837 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.271e-05/0.5254, allocations: 20.95 kB / 0.837 GB, free: 9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.5255, allocations: 23.42 kB / 0.837 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.5255, allocations: 0 / 0.837 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of Templates: time 0.003544/0.529, allocations: 1.663 MB / 0.8387 GB, free: 7.316 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)