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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001561/0.001561, allocations: 102.1 kB / 15.99 MB, free: 5.891 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: 192.6 kB / 16.91 MB, free: 5.746 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.665 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 75.88 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6595, allocations: 140.4 MB / 0.9498 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001694/0.6612, allocations: 0.6626 MB / 0.9504 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.6626, allocations: 1.444 MB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.6626, allocations: 1.375 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.6627, allocations: 0 / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.886e-05/0.6627, allocations: 0 / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.6632, allocations: 118.1 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.6632, allocations: 31.86 kB / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.6633, allocations: 1.5 kB / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.6633, allocations: 25.89 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.6634, allocations: 20.59 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.6634, allocations: 2.281 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.6638, allocations: 320.5 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.6638, allocations: 9.203 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.6638, allocations: 10.86 kB / 0.9524 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.664, allocations: 136.5 kB / 0.9525 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.664, allocations: 1.312 kB / 0.9525 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.664, allocations: 0 / 0.9525 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6641, allocations: 3.938 kB / 0.9525 GB, free: 7.117 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.0004443/0.6645, allocations: 363 kB / 0.9528 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.6646, allocations: 9.594 kB / 0.9528 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.665, allocations: 66.78 kB / 0.9529 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.496e-05/0.6651, allocations: 161.9 kB / 0.9531 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.6651, allocations: 5.188 kB / 0.9531 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.6651, allocations: 6.438 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.6654, allocations: 77.25 kB / 0.9532 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6654, allocations: 1.25 kB / 0.9532 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6654, allocations: 3.984 kB / 0.9532 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6654, allocations: 1.219 kB / 0.9532 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.6657, allocations: 74.17 kB / 0.9532 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.6659, allocations: 169.5 kB / 0.9534 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.6664, allocations: 123.4 kB / 0.9535 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6666, allocations: 43.72 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004111/0.667, allocations: 155 kB / 0.9537 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.667, allocations: 34.5 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.667, allocations: 1.438 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001032/0.6681, allocations: 405.1 kB / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.6681, allocations: 52.84 kB / 0.9542 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.964e-05/0.6682, allocations: 96.67 kB / 0.9543 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.6682, allocations: 33.81 kB / 0.9543 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.6682, allocations: 81.52 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.6682, allocations: 17.09 kB / 0.9544 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.6683, allocations: 20.94 kB / 0.9544 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.6683, allocations: 314.8 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.6685, allocations: 37.66 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.6686, allocations: 33.66 kB / 0.9548 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.6689, allocations: 74.89 kB / 0.9548 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6689, allocations: 5.062 kB / 0.9549 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00035/0.6693, allocations: 120.3 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6693, allocations: 5.719 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6693, allocations: 0 / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6693, allocations: 5.125 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.6695, allocations: 23.19 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6695, allocations: 0.9375 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.6696, allocations: 16.45 kB / 0.955 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.6696, allocations: 1.438 kB / 0.955 GB, free: 4.812 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.019e-05/0.6696, allocations: 112.5 kB / 0.9551 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.6697, allocations: 5.281 kB / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.6701, allocations: 137.9 kB / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6701, allocations: 0 / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6701, allocations: 5.438 kB / 0.9553 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6701, allocations: 0 / 0.9553 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.657e-05/0.6702, allocations: 171.5 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6702, allocations: 0 / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.6704, allocations: 31.81 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6704, allocations: 1.281 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.6704, allocations: 1.281 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.6704, allocations: 0 / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6704, allocations: 1.094 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.6709, allocations: 187.8 kB / 0.9556 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.671, allocations: 87.31 kB / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.671, allocations: 5.188 kB / 0.9557 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.6711, allocations: 16.03 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.6712, allocations: 6.156 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.6712, allocations: 2 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.6712, allocations: 77.38 kB / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6712, allocations: 0 / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002371/0.6714, allocations: 33.73 kB / 0.9559 GB, free: 4.047 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.0001945/0.6716, allocations: 132.1 kB / 0.956 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.672, allocations: 91.36 kB / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.672, allocations: 0 / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.6722, allocations: 40.81 kB / 0.9561 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.6723, allocations: 5.188 kB / 0.9561 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.6729, allocations: 227.2 kB / 0.9563 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.673, allocations: 0.6886 MB / 0.957 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.6731, allocations: 9.969 kB / 0.957 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6731, allocations: 0 / 0.957 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.002656/0.6758, allocations: 1.129 MB / 0.9581 GB, free: 2.395 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)