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.006088/0.006088, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00122/0.00122, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.197/1.197, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.273/1.273, allocations: 251.7 MB / 0.5094 GB, free: 440 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.001367/0.001367, allocations: 71.89 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5109, allocations: 104.7 MB / 0.8281 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00164/0.5125, allocations: 0.6322 MB / 0.8287 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.5142, allocations: 1.504 MB / 0.8302 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.5142, allocations: 0 / 0.8302 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.5142, allocations: 0 / 0.8302 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.5143, allocations: 7.922 kB / 0.8302 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.5147, allocations: 123.5 kB / 0.8303 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.5148, allocations: 19.98 kB / 0.8303 GB, free: 480 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.5148, allocations: 7.938 kB / 0.8303 GB, free: 472 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.5149, allocations: 19.91 kB / 0.8303 GB, free: 452 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.515, allocations: 23.86 kB / 0.8304 GB, free: 428 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.515, allocations: 0 / 0.8304 GB, free: 428 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.5154, allocations: 319.3 kB / 0.8307 GB, free: 108 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.5154, allocations: 7.938 kB / 0.8307 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.5155, allocations: 11.92 kB / 0.8307 GB, free: 88 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.5157, allocations: 195.2 kB / 0.8309 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5158, allocations: 0 / 0.8309 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5158, allocations: 3.938 kB / 0.8309 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.5158, allocations: 0 / 0.8309 GB, free: 15.89 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.0004752/0.5163, allocations: 373.7 kB / 0.8312 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5163, allocations: 12.03 kB / 0.8312 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.5167, allocations: 60.77 kB / 0.8313 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5168, allocations: 168.3 kB / 0.8315 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5168, allocations: 4.375 kB / 0.8315 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.5168, allocations: 4.375 kB / 0.8315 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.5171, allocations: 77.95 kB / 0.8315 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5171, allocations: 0 / 0.8315 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5171, allocations: 0 / 0.8315 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5171, allocations: 4 kB / 0.8315 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.5175, allocations: 75.84 kB / 0.8316 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.5176, allocations: 169.6 kB / 0.8318 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.5182, allocations: 126.5 kB / 0.8319 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.5183, allocations: 44.94 kB / 0.8319 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5184, allocations: 4 kB / 0.8319 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5184, allocations: 38.48 kB / 0.832 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.5184, allocations: 0 / 0.832 GB, free: 14.6 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.003876/0.5223, allocations: 0.7892 MB / 0.8328 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5223, allocations: 51.41 kB / 0.8328 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.5224, allocations: 117.8 kB / 0.8329 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.5224, allocations: 29.7 kB / 0.8329 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.5225, allocations: 88.14 kB / 0.833 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.5225, allocations: 31.55 kB / 0.8331 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.5226, allocations: 25.7 kB / 0.8331 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5227, allocations: 318.8 kB / 0.8334 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.5231, allocations: 95.84 kB / 0.8335 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.5235, allocations: 111.9 kB / 0.8336 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.5243, allocations: 188.7 kB / 0.8338 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5244, allocations: 192 / 0.8338 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008552/0.5252, allocations: 249.4 kB / 0.834 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5252, allocations: 4 kB / 0.834 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5252, allocations: 0 / 0.834 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5253, allocations: 0 / 0.834 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.5256, allocations: 51.94 kB / 0.8341 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5256, allocations: 4 kB / 0.8341 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.5258, allocations: 31.95 kB / 0.8341 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.5258, allocations: 7.984 kB / 0.8341 GB, free: 12.37 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 8.218e-05/0.5259, allocations: 126.8 kB / 0.8342 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.5259, allocations: 3.906 kB / 0.8342 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.526, allocations: 16.38 kB / 0.8342 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.526, allocations: 0 / 0.8342 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.526, allocations: 0 / 0.8342 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.526, allocations: 0 / 0.8342 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.5275, allocations: 0.6013 MB / 0.8348 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5275, allocations: 0 / 0.8348 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.5278, allocations: 52.02 kB / 0.8349 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5278, allocations: 3.984 kB / 0.8349 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.5278, allocations: 4 kB / 0.8349 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.5278, allocations: 4.219 kB / 0.8349 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5278, allocations: 0 / 0.8349 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.5287, allocations: 348.9 kB / 0.8352 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.5288, allocations: 81.02 kB / 0.8353 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.5288, allocations: 4 kB / 0.8353 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.529, allocations: 39.95 kB / 0.8353 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5291, allocations: 11.92 kB / 0.8354 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.5291, allocations: 7.984 kB / 0.8354 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.5292, allocations: 87.28 kB / 0.8354 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.253e-06/0.5292, allocations: 0 / 0.8354 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002689/0.5294, allocations: 43.92 kB / 0.8355 GB, free: 10.84 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.0001924/0.5296, allocations: 131.2 kB / 0.8356 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009063/0.5305, allocations: 211.7 kB / 0.8358 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5306, allocations: 4 kB / 0.8358 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.531, allocations: 104 kB / 0.8359 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.5312, allocations: 11.94 kB / 0.8359 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.5327, allocations: 402.3 kB / 0.8363 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.533, allocations: 0.6883 MB / 0.837 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.659e-05/0.5331, allocations: 24.66 kB / 0.837 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.5332, allocations: 19.42 kB / 0.837 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of SimCode: time 2.11e-07/0.5332, allocations: 288 / 0.837 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of Templates: time 0.004029/0.5372, allocations: 1.667 MB / 0.8387 GB, free: 7.527 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)