Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.9 MB / 297.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 192.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.2 MB / 0.626 GB, free: 7.129 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 94.28 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.217e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5451, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.714, allocations: 139.8 MB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.7142, allocations: 80.55 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.7309, allocations: 5.438 MB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7309, allocations: 0 / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.7309, allocations: 0 / 1.115 GB, free: 4.953 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004675/0.7314, allocations: 398.2 kB / 1.116 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7314, allocations: 8.031 kB / 1.116 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003698/0.7318, allocations: 63.94 kB / 1.116 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.732, allocations: 178.8 kB / 1.116 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.732, allocations: 4 kB / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.732, allocations: 7.906 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/0.7321, allocations: 36 kB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.7323, allocations: 67.53 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7323, allocations: 0 / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.7323, allocations: 11.45 kB / 1.116 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.7323, allocations: 0 / 1.116 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.7329, allocations: 309.2 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.733, allocations: 70.56 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.7331, allocations: 25 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.7331, allocations: 3.984 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.7331, allocations: 34.56 kB / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.7331, allocations: 0 / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.01275/0.7459, allocations: 2.11 MB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.7459, allocations: 51.41 kB / 1.118 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.746, allocations: 89 kB / 1.119 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.7461, allocations: 25.7 kB / 1.119 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.7461, allocations: 104 kB / 1.119 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.7462, allocations: 35.45 kB / 1.119 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.7462, allocations: 0 / 1.119 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.7463, allocations: 314.8 kB / 1.119 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.7465, allocations: 111.9 kB / 1.119 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.7467, allocations: 115.9 kB / 1.119 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.747, allocations: 127.8 kB / 1.119 GB, free: 432 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7471, allocations: 4 kB / 1.119 GB, free: 428 kB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006668/0.7477, allocations: 336 kB / 1.12 GB, free: 88 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7478, allocations: 5.406 kB / 1.12 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.7478, allocations: 0 / 1.12 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.7478, allocations: 0 / 1.12 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008277/0.7486, allocations: 119.8 kB / 1.12 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7486, allocations: 3.953 kB / 1.12 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.7492, allocations: 55.94 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.7493, allocations: 27.92 kB / 1.12 GB, free: 15.88 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.0001407/0.7495, allocations: 110.1 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.7495, allocations: 12.09 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.7496, allocations: 12.39 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7496, allocations: 0 / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.7496, allocations: 0 / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7496, allocations: 4.516 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.7509, allocations: 0.8755 MB / 1.121 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.751, allocations: 3.984 kB / 1.121 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/0.7518, allocations: 127.7 kB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.7518, allocations: 0 / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.7518, allocations: 23.89 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7519, allocations: 1.875 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7519, allocations: 0 / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.7529, allocations: 0.5756 MB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.7531, allocations: 116.9 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.7531, allocations: 4.062 kB / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.7538, allocations: 63.89 kB / 1.122 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.7539, allocations: 27.92 kB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.7539, allocations: 23.94 kB / 1.122 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.754, allocations: 79.28 kB / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.244e-06/0.754, allocations: 0 / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003746/0.7544, allocations: 63.86 kB / 1.122 GB, free: 13.63 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002095/0.7546, allocations: 112.5 kB / 1.122 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.7551, allocations: 267.7 kB / 1.122 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7551, allocations: 0 / 1.122 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.7553, allocations: 147.8 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.7555, allocations: 4 kB / 1.122 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.7591, allocations: 0.6893 MB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.7593, allocations: 0.6963 MB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006664/0.76, allocations: 88.67 kB / 1.124 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.7602, allocations: 55.3 kB / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of SimCode: time 4.2e-07/0.7603, allocations: 0 / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.00552/0.7658, allocations: 3.136 MB / 1.127 GB, free: 8.414 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)