Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0017/0.0017, allocations: 177.3 kB / 15.95 MB, free: 216 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.89/1.89, 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.595/1.595, allocations: 251.9 MB / 0.51 GB, free: 4.789 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.00132/0.001321, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.605, allocations: 106.4 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009371/0.606, allocations: 321.3 kB / 0.7283 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.6081, allocations: 1.441 MB / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.6081, allocations: 4 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.6082, allocations: 0 / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.6082, allocations: 0 / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.6086, allocations: 103.7 kB / 0.7298 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.6087, allocations: 27.95 kB / 0.7298 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.6087, allocations: 0 / 0.7298 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.6088, allocations: 23.92 kB / 0.7299 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.588e-05/0.6089, allocations: 23.95 kB / 0.7299 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.6089, allocations: 4 kB / 0.7299 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.6094, allocations: 307.4 kB / 0.7302 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.6094, allocations: 15.97 kB / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.6094, allocations: 25.7 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.6096, allocations: 135.9 kB / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6097, allocations: 0 / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6097, allocations: 0 / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6097, allocations: 0 / 0.7303 GB, free: 9.004 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005451/0.6102, allocations: 361.3 kB / 0.7307 GB, free: 8.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6103, allocations: 12.03 kB / 0.7307 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.6107, allocations: 75.91 kB / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.6109, allocations: 171 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.6109, allocations: 0 / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.6109, allocations: 0 / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.6112, allocations: 89.56 kB / 0.731 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.6112, allocations: 0 / 0.731 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.6112, allocations: 0 / 0.731 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6113, allocations: 0 / 0.731 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.6116, allocations: 87.86 kB / 0.7311 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.6118, allocations: 169.6 kB / 0.7313 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.6124, allocations: 138.5 kB / 0.7314 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.6129, allocations: 181.1 kB / 0.7316 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.6129, allocations: 34.56 kB / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 3.516e-06/0.613, allocations: 4 kB / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001194/0.6141, allocations: 442.1 kB / 0.732 GB, free: 7.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.6142, allocations: 55.39 kB / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.6143, allocations: 93.86 kB / 0.7322 GB, free: 6.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.6143, allocations: 25.83 kB / 0.7322 GB, free: 6.848 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.6144, allocations: 84.14 kB / 0.7323 GB, free: 6.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.6144, allocations: 19.72 kB / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.6144, allocations: 0 / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6145, allocations: 322.8 kB / 0.7326 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.6147, allocations: 43.97 kB / 0.7326 GB, free: 6.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.6148, allocations: 39.97 kB / 0.7327 GB, free: 6.336 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.615, allocations: 39.97 kB / 0.7327 GB, free: 6.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.615, allocations: 4 kB / 0.7327 GB, free: 6.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003514/0.6154, allocations: 121.6 kB / 0.7328 GB, free: 6.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6154, allocations: 10.03 kB / 0.7329 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6154, allocations: 0 / 0.7329 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6154, allocations: 4 kB / 0.7329 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.6156, allocations: 31.97 kB / 0.7329 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6156, allocations: 0 / 0.7329 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.6157, allocations: 11.98 kB / 0.7329 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.6157, allocations: 8 kB / 0.7329 GB, free: 6.105 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 (6): * Single equations (assignments): 6 * 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 8.025e-05/0.6158, allocations: 109.8 kB / 0.733 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.6158, allocations: 4 kB / 0.733 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.6163, allocations: 157 kB / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6163, allocations: 0 / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6163, allocations: 0 / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6163, allocations: 0 / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.6164, allocations: 169.6 kB / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6164, allocations: 0 / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.6166, allocations: 27.98 kB / 0.7334 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6166, allocations: 3.984 kB / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.6166, allocations: 4 kB / 0.7334 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6166, allocations: 0 / 0.7334 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6166, allocations: 3.938 kB / 0.7334 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.6172, allocations: 217.2 kB / 0.7336 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6173, allocations: 85.03 kB / 0.7337 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.6174, allocations: 4 kB / 0.7337 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6175, allocations: 20.05 kB / 0.7337 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.6175, allocations: 7.984 kB / 0.7337 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.6175, allocations: 0 / 0.7337 GB, free: 5.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.6176, allocations: 79.28 kB / 0.7338 GB, free: 5.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6176, allocations: 0 / 0.7338 GB, free: 5.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002302/0.6178, allocations: 35.98 kB / 0.7338 GB, free: 5.094 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002719/0.6181, allocations: 127.2 kB / 0.7339 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.6185, allocations: 100 kB / 0.734 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6185, allocations: 0 / 0.734 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.6186, allocations: 47.91 kB / 0.7341 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.6188, allocations: 18.58 kB / 0.7341 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.6194, allocations: 200.7 kB / 0.7343 GB, free: 4.578 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.6197, allocations: 0.6809 MB / 0.7349 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.6198, allocations: 20 kB / 0.7349 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.6198, allocations: 15.42 kB / 0.735 GB, free: 3.836 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.6198, allocations: 0 / 0.735 GB, free: 3.836 MB / 0.545 GB Notification: Performance of Templates: time 0.003434/0.6233, allocations: 1.097 MB / 0.736 GB, free: 2.746 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: