Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.000995/0.0009951, allocations: 99.34 kB / 16.02 MB, free: 76 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.001172/0.001172, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5754/0.5758, allocations: 153.8 MB / 1.024 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007336/0.5766, allocations: 337.5 kB / 1.024 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.5785, allocations: 1.455 MB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.5785, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.075e-05/0.5785, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.5785, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.579, allocations: 115.7 kB / 1.026 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.5791, allocations: 27.92 kB / 1.026 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.5791, allocations: 0 / 1.026 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.5792, allocations: 15.98 kB / 1.026 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.5793, allocations: 31.89 kB / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.5793, allocations: 0 / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.5798, allocations: 319.3 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.5798, allocations: 11.98 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.5799, allocations: 41.61 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.5801, allocations: 131.9 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5801, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5801, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.5801, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 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.0004879/0.5806, allocations: 357.6 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5807, allocations: 12.03 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.5812, allocations: 80.84 kB / 1.027 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5813, allocations: 168.4 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5813, allocations: 384 / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.5814, allocations: 4.312 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.5817, allocations: 89.94 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5817, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.5817, allocations: 4 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5817, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.582, allocations: 83.86 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.5822, allocations: 161.6 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.5829, allocations: 138.5 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.5831, allocations: 52.98 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/0.5836, allocations: 181 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5836, allocations: 34.5 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.5836, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.001226/0.5849, allocations: 434.2 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.5849, allocations: 63.34 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.585, allocations: 89.86 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.585, allocations: 33.64 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.5851, allocations: 84.14 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.5851, allocations: 19.69 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.5851, allocations: 17.72 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5852, allocations: 310.8 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.5854, allocations: 48.08 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.5856, allocations: 43.97 kB / 1.029 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.5859, allocations: 84.8 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5859, allocations: 0 / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003821/0.5863, allocations: 129.7 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5863, allocations: 11.98 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5863, allocations: 64 / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.5864, allocations: 8 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.5865, allocations: 23.98 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5865, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.5867, allocations: 11.98 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5867, allocations: 4 kB / 1.029 GB, free: 10.54 MB / 0.7794 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 7.853e-05/0.5868, allocations: 117.8 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.5868, allocations: 7.938 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.5873, allocations: 149.1 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5873, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5873, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5873, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.5874, allocations: 173.6 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5875, allocations: 336 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.5876, allocations: 31.92 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5876, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.5876, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5877, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.5877, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.5883, allocations: 216.9 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.5883, allocations: 85.03 kB / 1.03 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5884, allocations: 7.969 kB / 1.03 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.5885, allocations: 16.05 kB / 1.03 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.5885, allocations: 15.92 kB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5885, allocations: 4 kB / 1.03 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.5886, allocations: 75.28 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5886, allocations: 0 / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002349/0.5888, allocations: 31.94 kB / 1.03 GB, free: 9.52 MB / 0.7794 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.0002195/0.5891, allocations: 135.2 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.5894, allocations: 100.2 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5895, allocations: 0 / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.5896, allocations: 55.89 kB / 1.03 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.5898, allocations: 12.5 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.5904, allocations: 230.1 kB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.5907, allocations: 0.6809 MB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.5908, allocations: 15.42 kB / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5908, allocations: 0 / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.002588/0.5934, allocations: 1.112 MB / 1.032 GB, free: 7.125 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)