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.0008215/0.0008215, allocations: 86.09 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.000974/0.000974, 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.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.739/1.739, allocations: 252 MB / 0.5102 GB, free: 4.758 MB / 414.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.0005555/0.0005558, allocations: 20 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.5213, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007663/0.5222, allocations: 364.5 kB / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.5239, allocations: 1.435 MB / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.5239, allocations: 0 / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.5239, allocations: 0 / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.524, allocations: 15.92 kB / 0.7299 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.5243, allocations: 87.7 kB / 0.73 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.5244, allocations: 15.98 kB / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.5244, allocations: 4 kB / 0.73 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.5245, allocations: 15.92 kB / 0.73 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.5245, allocations: 19.86 kB / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.5246, allocations: 0 / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.525, allocations: 311.4 kB / 0.7303 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.525, allocations: 7.984 kB / 0.7303 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.525, allocations: 29.64 kB / 0.7304 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.5252, allocations: 133.8 kB / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5252, allocations: 0 / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5252, allocations: 4 kB / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5252, allocations: 0 / 0.7305 GB, free: 8.965 MB / 0.545 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.0004433/0.5257, allocations: 371.2 kB / 0.7309 GB, free: 8.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.5257, allocations: 12.03 kB / 0.7309 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.5261, allocations: 71.92 kB / 0.7309 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.5262, allocations: 179 kB / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5263, allocations: 8 kB / 0.7311 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.5263, allocations: 3.906 kB / 0.7311 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.5265, allocations: 77.64 kB / 0.7312 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.5266, allocations: 4 kB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.5266, allocations: 4 kB / 0.7312 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5266, allocations: 0 / 0.7312 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.5269, allocations: 87.84 kB / 0.7313 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.5271, allocations: 173.7 kB / 0.7315 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.5276, allocations: 142.5 kB / 0.7316 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.5278, allocations: 48.95 kB / 0.7316 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.5278, allocations: 0 / 0.7316 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.5279, allocations: 34.56 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5279, allocations: 0 / 0.7317 GB, free: 7.609 MB / 0.545 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.003791/0.5317, allocations: 0.9613 MB / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.5317, allocations: 55.41 kB / 0.7327 GB, free: 6.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.5318, allocations: 117.8 kB / 0.7328 GB, free: 6.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.5318, allocations: 25.7 kB / 0.7328 GB, free: 6.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.5319, allocations: 84.14 kB / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.5319, allocations: 31.55 kB / 0.7329 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.5319, allocations: 0 / 0.7329 GB, free: 6.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.532, allocations: 322.8 kB / 0.7332 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.5324, allocations: 115.9 kB / 0.7333 GB, free: 5.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.5328, allocations: 123.8 kB / 0.7334 GB, free: 5.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.5332, allocations: 115.9 kB / 0.7336 GB, free: 5.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.5332, allocations: 0 / 0.7336 GB, free: 5.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000828/0.534, allocations: 281.3 kB / 0.7338 GB, free: 5.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5341, allocations: 8 kB / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5341, allocations: 0 / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5341, allocations: 0 / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.5344, allocations: 63.94 kB / 0.7339 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5344, allocations: 4 kB / 0.7339 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.5346, allocations: 51.91 kB / 0.7339 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5347, allocations: 7.984 kB / 0.734 GB, free: 5.215 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.5347, allocations: 109.8 kB / 0.7341 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.5348, allocations: 5.125 kB / 0.7341 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.5348, allocations: 8.375 kB / 0.7341 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5348, allocations: 4 kB / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5348, allocations: 0 / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5348, allocations: 7.922 kB / 0.7341 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.5364, allocations: 0.6676 MB / 0.7347 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5364, allocations: 4 kB / 0.7347 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.5366, allocations: 64 kB / 0.7348 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5367, allocations: 0 / 0.7348 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.5367, allocations: 11.94 kB / 0.7348 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5367, allocations: 0 / 0.7348 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5367, allocations: 4 kB / 0.7348 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.5376, allocations: 380.9 kB / 0.7352 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.5376, allocations: 81.11 kB / 0.7353 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.5376, allocations: 7.922 kB / 0.7353 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.5379, allocations: 51.92 kB / 0.7353 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.5379, allocations: 15.97 kB / 0.7353 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.538, allocations: 7.984 kB / 0.7353 GB, free: 3.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.538, allocations: 91.66 kB / 0.7354 GB, free: 3.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.538, allocations: 3.938 kB / 0.7354 GB, free: 3.594 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003054/0.5383, allocations: 40 kB / 0.7355 GB, free: 3.555 MB / 0.545 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 (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.0002025/0.5385, allocations: 123.2 kB / 0.7356 GB, free: 3.426 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008623/0.5394, allocations: 252 kB / 0.7358 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5394, allocations: 0 / 0.7358 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.5398, allocations: 135.9 kB / 0.736 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.5401, allocations: 10.05 kB / 0.736 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.5415, allocations: 468.2 kB / 0.7364 GB, free: 2.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.5417, allocations: 0.6926 MB / 0.7371 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.5418, allocations: 20.89 kB / 0.7371 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.5419, allocations: 23.42 kB / 0.7371 GB, free: 1.785 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5419, allocations: 0 / 0.7371 GB, free: 1.785 MB / 0.545 GB Notification: Performance of Templates: time 0.003734/0.5457, allocations: 1.547 MB / 0.7386 GB, free: 244 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: