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.0009036/0.0009037, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009031/0.0009032, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.195/1.195, allocations: 205.1 MB / 222 MB, free: 4.766 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.326/1.326, allocations: 251.7 MB / 0.5088 GB, free: 3.293 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.001209/0.001209, allocations: 67.91 kB / 0.6216 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001578/0.391, allocations: 0.686 MB / 0.7245 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3925, allocations: 1.516 MB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.3925, allocations: 0 / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.3926, allocations: 4 kB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.511e-05/0.3926, allocations: 0 / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.393, allocations: 111.7 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.393e-05/0.393, allocations: 23.98 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.3931, allocations: 4 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.3931, allocations: 15.98 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.3932, allocations: 27.88 kB / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3932, allocations: 8 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.3936, allocations: 311.4 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3936, allocations: 11.97 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.3936, allocations: 11.92 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3939, allocations: 183.7 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3939, allocations: 0 / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.11e-07/0.3939, allocations: 0 / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.3939, allocations: 0 / 0.7266 GB, free: 10.24 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.0004441/0.3944, allocations: 373.4 kB / 0.727 GB, free: 9.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.3944, allocations: 16.03 kB / 0.727 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.3948, allocations: 60.86 kB / 0.7271 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.966e-05/0.3949, allocations: 176.2 kB / 0.7272 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3949, allocations: 384 / 0.7272 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3949, allocations: 384 / 0.7272 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.3952, allocations: 77.95 kB / 0.7273 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-06/0.3952, allocations: 4 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.3952, allocations: 7.938 kB / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-06/0.3952, allocations: 0 / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.3955, allocations: 63.92 kB / 0.7274 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.3956, allocations: 169.6 kB / 0.7275 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.3961, allocations: 122.6 kB / 0.7277 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3963, allocations: 44.81 kB / 0.7277 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.3967, allocations: 157 kB / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3967, allocations: 34.5 kB / 0.7279 GB, free: 8.785 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3967, allocations: 0 / 0.7279 GB, free: 8.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0009727/0.3977, allocations: 398.2 kB / 0.7283 GB, free: 8.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.3978, allocations: 59.39 kB / 0.7283 GB, free: 8.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.396e-05/0.3978, allocations: 93.86 kB / 0.7284 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3978, allocations: 29.7 kB / 0.7284 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.3979, allocations: 80.14 kB / 0.7285 GB, free: 8.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3979, allocations: 15.72 kB / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.3979, allocations: 21.7 kB / 0.7286 GB, free: 8.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.398, allocations: 318.8 kB / 0.7289 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3982, allocations: 36.03 kB / 0.7289 GB, free: 7.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3983, allocations: 35.95 kB / 0.7289 GB, free: 7.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.3986, allocations: 84.98 kB / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3986, allocations: 0 / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003138/0.3989, allocations: 109.6 kB / 0.7291 GB, free: 7.422 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.3989, allocations: 7.938 kB / 0.7291 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.3989, allocations: 0 / 0.7291 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.399, allocations: 0 / 0.7291 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3991, allocations: 35.97 kB / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.3991, allocations: 3.938 kB / 0.7292 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.3992, allocations: 11.98 kB / 0.7292 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3992, allocations: 0 / 0.7292 GB, free: 7.363 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.3993, allocations: 109.8 kB / 0.7293 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.3993, allocations: 11.92 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.3998, allocations: 133.4 kB / 0.7294 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3998, allocations: 0 / 0.7294 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3998, allocations: 0 / 0.7294 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3998, allocations: 11.97 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3999, allocations: 161.6 kB / 0.7296 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3999, allocations: 4 kB / 0.7296 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.4001, allocations: 31.84 kB / 0.7296 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4001, allocations: 3.938 kB / 0.7296 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4001, allocations: 8 kB / 0.7296 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4001, allocations: 0 / 0.7296 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4001, allocations: 0 / 0.7296 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.4006, allocations: 193.2 kB / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.4007, allocations: 85.03 kB / 0.7299 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4007, allocations: 4 kB / 0.7299 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4009, allocations: 11.98 kB / 0.7299 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.4009, allocations: 4 kB / 0.7299 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4009, allocations: 7.984 kB / 0.7299 GB, free: 6.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.401, allocations: 79.34 kB / 0.73 GB, free: 6.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.401, allocations: 0 / 0.73 GB, free: 6.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002068/0.4012, allocations: 28 kB / 0.73 GB, free: 6.391 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 (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.0001741/0.4014, allocations: 131.2 kB / 0.7301 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.4017, allocations: 80.02 kB / 0.7302 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4017, allocations: 4 kB / 0.7302 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4018, allocations: 51.83 kB / 0.7303 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.402, allocations: 11.94 kB / 0.7303 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.4025, allocations: 183.2 kB / 0.7305 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4027, allocations: 0.6795 MB / 0.7311 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.4029, allocations: 20.23 kB / 0.7311 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.4029, allocations: 11.44 kB / 0.7312 GB, free: 5.168 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4029, allocations: 0 / 0.7312 GB, free: 5.168 MB / 0.545 GB Notification: Performance of Templates: time 0.002673/0.4056, allocations: 1.121 MB / 0.7322 GB, free: 4.055 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)