Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001329/0.001329, allocations: 100.1 kB / 15.88 MB, free: 12 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.001372/0.001372, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.681/2.681, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 65.27 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2679, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001852/0.2697, allocations: 0.6658 MB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2715, allocations: 1.481 MB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.2716, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.2716, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.2716, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.2721, allocations: 118.7 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.2721, allocations: 23.98 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.2722, allocations: 0 / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.2722, allocations: 19.97 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.2723, allocations: 27.91 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2723, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.2727, allocations: 315.3 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.2728, allocations: 7.984 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.2728, allocations: 11.92 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.273, allocations: 135.8 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.273, allocations: 4 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2731, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2731, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 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.0004849/0.2736, allocations: 359.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2736, allocations: 11.97 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/0.2741, allocations: 68.84 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2742, allocations: 164.3 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2742, allocations: 8.375 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.2742, allocations: 4.281 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2745, allocations: 85.92 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2745, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2745, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2745, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.2748, allocations: 71.86 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.275, allocations: 161.7 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.2756, allocations: 126.5 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.2758, allocations: 44.91 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004395/0.2762, allocations: 149 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.2763, allocations: 42.5 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2763, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.001142/0.2774, allocations: 406.2 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2775, allocations: 55.41 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.2775, allocations: 97.84 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2776, allocations: 25.7 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.2776, allocations: 80.27 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2776, allocations: 19.75 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.2777, allocations: 25.72 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.2778, allocations: 314.8 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2779, allocations: 39.91 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2781, allocations: 35.97 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.2784, allocations: 76.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2784, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003529/0.2788, allocations: 117.6 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2788, allocations: 4 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2788, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2788, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.279, allocations: 27.91 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.279, allocations: 0 / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.2791, allocations: 15.98 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2791, allocations: 8 kB / 1.058 GB, free: 2.598 MB / 0.8106 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.745e-05/0.2792, allocations: 105.8 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.2792, allocations: 11.84 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.2796, allocations: 133.2 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2796, allocations: 0 / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2796, allocations: 3.938 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2797, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2798, allocations: 173.9 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2798, allocations: 0 / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.28, allocations: 35.84 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.28, allocations: 0 / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.28, allocations: 4 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.28, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.28, allocations: 4 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.2805, allocations: 177.4 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.2806, allocations: 89.06 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2806, allocations: 0 / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2808, allocations: 20.03 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.2808, allocations: 11.98 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2808, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.2809, allocations: 79.28 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2809, allocations: 0 / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000226/0.2811, allocations: 31.98 kB / 1.059 GB, free: 1.637 MB / 0.8106 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.0002006/0.2813, allocations: 139.2 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003619/0.2817, allocations: 79.92 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2817, allocations: 4 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2819, allocations: 43.91 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.282, allocations: 13.66 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.2826, allocations: 213 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2828, allocations: 0.6809 MB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.2829, allocations: 11.44 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.2829, allocations: 4 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of Templates: time 0.002553/0.2855, allocations: 1.113 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)