Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_9_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.001114/0.001114, allocations: 92.08 kB / 16.02 MB, free: 80 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.001562/0.001562, allocations: 180.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.9 MB / 0.667 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 12 kB / 0.8166 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6721, allocations: 142.4 MB / 0.9557 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006746/0.6728, allocations: 336.3 kB / 0.956 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.6745, allocations: 1.454 MB / 0.9575 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.6745, allocations: 0 / 0.9575 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.6745, allocations: 3.938 kB / 0.9575 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.245e-05/0.6746, allocations: 1.719 kB / 0.9575 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.675, allocations: 117.3 kB / 0.9576 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.675, allocations: 23.77 kB / 0.9576 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.6751, allocations: 1.031 kB / 0.9576 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.6751, allocations: 26.78 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.6752, allocations: 24.55 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.6752, allocations: 2.781 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.6756, allocations: 312.9 kB / 0.958 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.6757, allocations: 11.92 kB / 0.958 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.6757, allocations: 40.66 kB / 0.958 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.6759, allocations: 132.2 kB / 0.9581 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6759, allocations: 3.938 kB / 0.9581 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6759, allocations: 0 / 0.9581 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6759, allocations: 1.25 kB / 0.9581 GB, free: 5.812 MB / 0.7169 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.0004635/0.6764, allocations: 354.8 kB / 0.9585 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.6765, allocations: 9 kB / 0.9585 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/0.6769, allocations: 88.31 kB / 0.9586 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.677, allocations: 164.3 kB / 0.9587 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.6771, allocations: 2.156 kB / 0.9587 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.6771, allocations: 1.969 kB / 0.9587 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.6774, allocations: 87.94 kB / 0.9588 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.6774, allocations: 0 / 0.9588 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.6774, allocations: 1.375 kB / 0.9588 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6774, allocations: 0 / 0.9588 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.6777, allocations: 78.05 kB / 0.9589 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.6779, allocations: 166.1 kB / 0.959 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.6785, allocations: 145.4 kB / 0.9592 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.6787, allocations: 49.55 kB / 0.9592 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.6792, allocations: 176.9 kB / 0.9594 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.6792, allocations: 43.81 kB / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.6792, allocations: 0 / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001133/0.6803, allocations: 436.3 kB / 0.9599 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.6804, allocations: 55.41 kB / 0.9599 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.291e-05/0.6804, allocations: 92.61 kB / 0.96 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.6804, allocations: 27.08 kB / 0.96 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.401e-05/0.6805, allocations: 88.12 kB / 0.9601 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.6805, allocations: 14.47 kB / 0.9601 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.6805, allocations: 15.09 kB / 0.9601 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.6806, allocations: 312.2 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.6807, allocations: 47.58 kB / 0.9605 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.6809, allocations: 47.41 kB / 0.9605 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.6812, allocations: 91.73 kB / 0.9606 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6812, allocations: 0 / 0.9606 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003611/0.6816, allocations: 128.8 kB / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6816, allocations: 5.5 kB / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6816, allocations: 0 / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.6816, allocations: 0 / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.6818, allocations: 27.23 kB / 0.9608 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.6818, allocations: 1.375 kB / 0.9608 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.6819, allocations: 14.98 kB / 0.9608 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.6819, allocations: 5.609 kB / 0.9608 GB, free: 3.508 MB / 0.7169 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 5.489e-05/0.682, allocations: 119.2 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.682, allocations: 6.688 kB / 0.9609 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.6825, allocations: 149.8 kB / 0.961 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6825, allocations: 336 / 0.961 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6825, allocations: 1.375 kB / 0.961 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6825, allocations: 0 / 0.961 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.6826, allocations: 167.3 kB / 0.9612 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.6826, allocations: 3.984 kB / 0.9612 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.6828, allocations: 31.17 kB / 0.9612 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6828, allocations: 1.375 kB / 0.9612 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.6828, allocations: 1.375 kB / 0.9612 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6828, allocations: 7.922 kB / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6828, allocations: 0 / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.6834, allocations: 206.7 kB / 0.9614 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.6835, allocations: 87.47 kB / 0.9615 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.6835, allocations: 1.156 kB / 0.9615 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6836, allocations: 22.42 kB / 0.9616 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.6837, allocations: 6.797 kB / 0.9616 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.6837, allocations: 2.094 kB / 0.9616 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.897e-05/0.6837, allocations: 80.75 kB / 0.9616 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6837, allocations: 1.375 kB / 0.9616 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002481/0.684, allocations: 32.36 kB / 0.9617 GB, free: 2.73 MB / 0.7169 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.0001999/0.6842, allocations: 131.2 kB / 0.9618 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.6846, allocations: 103.8 kB / 0.9619 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6846, allocations: 0 / 0.9619 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.6848, allocations: 49.73 kB / 0.9619 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.6849, allocations: 10.09 kB / 0.962 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.6856, allocations: 229.5 kB / 0.9622 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.6857, allocations: 0.6829 MB / 0.9628 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.6857, allocations: 16.39 kB / 0.9629 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6857, allocations: 0 / 0.9629 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of Templates: time 0.00267/0.6884, allocations: 1.118 MB / 0.9639 GB, free: 1.09 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)