Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108 kB / 15.61 MB, free: 152 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.001174/0.001174, allocations: 196 kB / 16.53 MB, free: 6.664 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.218/1.218, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.339/1.339, allocations: 251.7 MB / 0.5092 GB, free: 3.121 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.001307/0.001307, allocations: 71.89 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3822, allocations: 104.7 MB / 0.7245 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001925/0.3842, allocations: 0.7914 MB / 0.7253 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3859, allocations: 1.52 MB / 0.7268 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.386, allocations: 0 / 0.7268 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.386, allocations: 7.938 kB / 0.7268 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.3861, allocations: 3.938 kB / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.3866, allocations: 143.4 kB / 0.7269 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.3867, allocations: 43.97 kB / 0.727 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.3867, allocations: 11.94 kB / 0.727 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.3868, allocations: 23.97 kB / 0.727 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.3868, allocations: 35.83 kB / 0.727 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3869, allocations: 4 kB / 0.727 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.3873, allocations: 323.3 kB / 0.7274 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3873, allocations: 8 kB / 0.7274 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.3873, allocations: 23.86 kB / 0.7274 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3876, allocations: 221.4 kB / 0.7276 GB, free: 9.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3876, allocations: 0 / 0.7276 GB, free: 9.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3876, allocations: 0 / 0.7276 GB, free: 9.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3877, allocations: 7.938 kB / 0.7276 GB, free: 9.875 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006474/0.3883, allocations: 403.3 kB / 0.728 GB, free: 9.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3883, allocations: 8.031 kB / 0.728 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.3888, allocations: 68.84 kB / 0.7281 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3889, allocations: 172.2 kB / 0.7282 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3889, allocations: 8.375 kB / 0.7282 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.389, allocations: 8.375 kB / 0.7282 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.3893, allocations: 113.9 kB / 0.7283 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3893, allocations: 0 / 0.7283 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3893, allocations: 0 / 0.7283 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3894, allocations: 4 kB / 0.7284 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.3898, allocations: 110.5 kB / 0.7285 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.3903, allocations: 332.7 kB / 0.7288 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.391, allocations: 158.4 kB / 0.7289 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.3912, allocations: 60.81 kB / 0.729 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3912, allocations: 0 / 0.729 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3912, allocations: 30.56 kB / 0.729 GB, free: 8.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3912, allocations: 0 / 0.729 GB, free: 8.27 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=11): time 0.01667/0.4079, allocations: 2.834 MB / 0.7318 GB, free: 5.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.408, allocations: 55.34 kB / 0.7318 GB, free: 5.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.408, allocations: 105.8 kB / 0.7319 GB, free: 5.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.4081, allocations: 29.7 kB / 0.732 GB, free: 5.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.4081, allocations: 88.05 kB / 0.732 GB, free: 5.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.4082, allocations: 43.39 kB / 0.7321 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.4084, allocations: 69.58 kB / 0.7322 GB, free: 4.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.4085, allocations: 322.8 kB / 0.7325 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.4091, allocations: 191.8 kB / 0.7326 GB, free: 4.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.4097, allocations: 191.8 kB / 0.7328 GB, free: 4.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.411, allocations: 396.7 kB / 0.7332 GB, free: 3.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.411, allocations: 0 / 0.7332 GB, free: 3.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001432/0.4124, allocations: 476.4 kB / 0.7337 GB, free: 3.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4124, allocations: 8 kB / 0.7337 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4125, allocations: 0 / 0.7337 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4125, allocations: 0 / 0.7337 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.4132, allocations: 107.8 kB / 0.7338 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4132, allocations: 7.875 kB / 0.7338 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.4138, allocations: 55.94 kB / 0.7338 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.4139, allocations: 27.92 kB / 0.7339 GB, free: 3.156 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 (13): * Single equations (assignments): 13 * 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.000127/0.414, allocations: 109.8 kB / 0.734 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.4141, allocations: 4 kB / 0.734 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.4141, allocations: 11.97 kB / 0.734 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4141, allocations: 8 kB / 0.734 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4141, allocations: 3.938 kB / 0.734 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4142, allocations: 3.984 kB / 0.734 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.4162, allocations: 1.047 MB / 0.735 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4162, allocations: 0 / 0.735 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.4169, allocations: 107.8 kB / 0.7351 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4169, allocations: 3.938 kB / 0.7351 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.417, allocations: 27.92 kB / 0.7351 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.417, allocations: 0 / 0.7351 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.417, allocations: 8 kB / 0.7352 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.4192, allocations: 0.7838 MB / 0.7359 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.4193, allocations: 121 kB / 0.736 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.4194, allocations: 8 kB / 0.736 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.42, allocations: 43.94 kB / 0.7361 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.4201, allocations: 23.92 kB / 0.7361 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.4202, allocations: 31.94 kB / 0.7361 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.4202, allocations: 79.28 kB / 0.7362 GB, free: 0.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4202, allocations: 0 / 0.7362 GB, free: 0.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003278/0.4206, allocations: 59.98 kB / 0.7363 GB, free: 0.5234 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001652/0.4207, allocations: 103.2 kB / 0.7364 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.4221, allocations: 431.5 kB / 0.7368 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4221, allocations: 3.938 kB / 0.7368 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.4228, allocations: 227.6 kB / 0.737 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.4231, allocations: 8 kB / 0.737 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.427, allocations: 0.7557 MB / 0.7377 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4272, allocations: 0.6924 MB / 0.7384 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005895/0.4278, allocations: 88.67 kB / 0.7385 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.428, allocations: 55.3 kB / 0.7386 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.428, allocations: 0 / 0.7386 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.005616/0.4337, allocations: 3.484 MB / 0.742 GB, free: 10.63 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)