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.0006867/0.0006867, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004421/0.004421, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.167/1.167, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.322/1.322, allocations: 252 MB / 0.5105 GB, free: 4.629 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.0004587/0.0004588, allocations: 20 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3815, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006652/0.3822, allocations: 380.3 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.384, allocations: 1.505 MB / 0.7306 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.384, allocations: 0 / 0.7306 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.384, allocations: 7.938 kB / 0.7306 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.3841, allocations: 7.984 kB / 0.7306 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3845, allocations: 87.7 kB / 0.7307 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.3845, allocations: 23.98 kB / 0.7307 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.3846, allocations: 4 kB / 0.7307 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.3846, allocations: 19.86 kB / 0.7307 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.3847, allocations: 19.92 kB / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3847, allocations: 0 / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.3851, allocations: 319.3 kB / 0.731 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.3851, allocations: 11.92 kB / 0.731 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.3852, allocations: 33.64 kB / 0.7311 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3854, allocations: 185.6 kB / 0.7312 GB, free: 8.672 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.3854, allocations: 0 / 0.7312 GB, free: 8.672 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3854, allocations: 0 / 0.7312 GB, free: 8.672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.3854, allocations: 3.938 kB / 0.7312 GB, free: 8.668 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.0004137/0.3859, allocations: 383.3 kB / 0.7316 GB, free: 8.246 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3859, allocations: 12.03 kB / 0.7316 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.3862, allocations: 68.86 kB / 0.7317 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3864, allocations: 176.2 kB / 0.7319 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3864, allocations: 4.375 kB / 0.7319 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3864, allocations: 8.375 kB / 0.7319 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3867, allocations: 81.95 kB / 0.7319 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3867, allocations: 3.984 kB / 0.732 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3867, allocations: 4 kB / 0.732 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3867, allocations: 0 / 0.732 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.3871, allocations: 87.91 kB / 0.732 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.3872, allocations: 169.7 kB / 0.7322 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.3878, allocations: 146.5 kB / 0.7323 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.3879, allocations: 48.95 kB / 0.7324 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.388, allocations: 3.984 kB / 0.7324 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.388, allocations: 42.44 kB / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.388, allocations: 0 / 0.7324 GB, free: 7.293 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.003983/0.392, allocations: 0.9497 MB / 0.7334 GB, free: 6.336 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.392, allocations: 51.41 kB / 0.7334 GB, free: 6.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.3921, allocations: 113.8 kB / 0.7335 GB, free: 6.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3921, allocations: 25.7 kB / 0.7335 GB, free: 6.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.3922, allocations: 84.14 kB / 0.7336 GB, free: 6.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.3922, allocations: 35.55 kB / 0.7337 GB, free: 6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3923, allocations: 13.72 kB / 0.7337 GB, free: 5.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.3924, allocations: 318.8 kB / 0.734 GB, free: 5.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.3928, allocations: 115.9 kB / 0.7341 GB, free: 5.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.3932, allocations: 119.8 kB / 0.7342 GB, free: 5.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.394, allocations: 236.7 kB / 0.7344 GB, free: 5.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.394, allocations: 0 / 0.7344 GB, free: 5.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008731/0.3949, allocations: 289.5 kB / 0.7347 GB, free: 4.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3949, allocations: 4 kB / 0.7347 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3949, allocations: 7.922 kB / 0.7347 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.3949, allocations: 4.094 kB / 0.7347 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.3952, allocations: 67.88 kB / 0.7348 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3952, allocations: 0 / 0.7348 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3955, allocations: 47.95 kB / 0.7348 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3955, allocations: 4.312 kB / 0.7348 GB, free: 4.773 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/0.3956, allocations: 117.8 kB / 0.7349 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.3956, allocations: 15.83 kB / 0.735 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.3956, allocations: 12.38 kB / 0.735 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3956, allocations: 0 / 0.735 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3957, allocations: 0.75 kB / 0.735 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3957, allocations: 0 / 0.735 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.3973, allocations: 0.6638 MB / 0.7356 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3973, allocations: 0 / 0.7356 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.3976, allocations: 64 kB / 0.7357 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3976, allocations: 4 kB / 0.7357 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3976, allocations: 12 kB / 0.7357 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3976, allocations: 3.938 kB / 0.7357 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3976, allocations: 0 / 0.7357 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.3986, allocations: 392.8 kB / 0.7361 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.3986, allocations: 85.02 kB / 0.7362 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3987, allocations: 4 kB / 0.7362 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.3989, allocations: 47.95 kB / 0.7362 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.399, allocations: 11.92 kB / 0.7362 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.399, allocations: 4 kB / 0.7362 GB, free: 3.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.399, allocations: 91.27 kB / 0.7363 GB, free: 3.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.399, allocations: 0 / 0.7363 GB, free: 3.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000265/0.3993, allocations: 43.98 kB / 0.7363 GB, free: 3.105 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 (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.0001831/0.3995, allocations: 127.2 kB / 0.7365 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008965/0.4004, allocations: 251.7 kB / 0.7367 GB, free: 2.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4004, allocations: 3.938 kB / 0.7367 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.4009, allocations: 132 kB / 0.7368 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.4011, allocations: 4.281 kB / 0.7368 GB, free: 2.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.4026, allocations: 480.1 kB / 0.7373 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.4028, allocations: 0.6848 MB / 0.738 GB, free: 1.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.4029, allocations: 20.67 kB / 0.738 GB, free: 1.352 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.403, allocations: 23.41 kB / 0.738 GB, free: 1.332 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.403, allocations: 0 / 0.738 GB, free: 1.332 MB / 0.545 GB Notification: Performance of Templates: time 0.003748/0.4068, allocations: 1.583 MB / 0.7396 GB, free: 15.75 MB / 0.5606 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: