Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 184.8 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 82.78 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.698e-05, allocations: 8 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8269/0.827, allocations: 115.2 MB / 0.9635 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/1.062, allocations: 137.9 MB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.063, allocations: 76.61 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02136/1.084, allocations: 4.048 MB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.084, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.084, allocations: 4 kB / 1.102 GB, free: 14.56 MB / 0.7136 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.0005598/1.085, allocations: 360.3 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.085, allocations: 8.031 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/1.085, allocations: 69.12 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.086, allocations: 167 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/1.086, allocations: 7.938 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.086, allocations: 7.906 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001211/1.086, allocations: 23.92 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.086, allocations: 45.67 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.086, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/1.086, allocations: 2.438 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.086, allocations: 4 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/1.086, allocations: 142.2 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/1.087, allocations: 54.56 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/1.087, allocations: 24.91 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/1.087, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.087, allocations: 38.5 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/1.087, allocations: 4 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001995/1.089, allocations: 418.2 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/1.089, allocations: 59.34 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/1.089, allocations: 89 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/1.089, allocations: 25.7 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/1.089, allocations: 84.27 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/1.089, allocations: 19.73 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/1.089, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.089, allocations: 314.8 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/1.089, allocations: 12 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/1.089, allocations: 12 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/1.09, allocations: 67.91 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.09, allocations: 0 / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006073/1.091, allocations: 116.9 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.091, allocations: 8 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.091, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.091, allocations: 4 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/1.091, allocations: 23.97 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.091, allocations: 3.938 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.091, allocations: 20.64 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/1.091, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.091, allocations: 104.8 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/1.091, allocations: 11.8 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/1.092, allocations: 141.4 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.092, allocations: 0 / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.092, allocations: 0 / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.092, allocations: 4 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/1.092, allocations: 146.2 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.092, allocations: 0 / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/1.093, allocations: 31.91 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.093, allocations: 3.953 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.093, allocations: 4 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.093, allocations: 0 / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.093, allocations: 4 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/1.093, allocations: 157.6 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/1.094, allocations: 85.09 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/1.094, allocations: 8.016 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/1.094, allocations: 15.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/1.094, allocations: 8.734 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/1.094, allocations: 0 / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.515e-05/1.094, allocations: 79.28 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.9e-07/1.094, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003453/1.094, allocations: 40.02 kB / 1.105 GB, free: 11.21 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000299/1.095, allocations: 139.1 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001794/1.095, allocations: 32 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.095, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/1.095, allocations: 23.98 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/1.095, allocations: 0 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/1.096, allocations: 130.5 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.096, allocations: 0.6807 MB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001897/1.096, allocations: 17.2 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/1.096, allocations: 15.44 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/1.096, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.005957/1.102, allocations: 1.057 MB / 1.107 GB, free: 9.102 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)