Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001067/0.001067, allocations: 168.9 kB / 361.4 MB, free: 6.871 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.739/1.739, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008392/0.0008392, allocations: 94.97 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.17e-05, allocations: 4 kB / 0.8518 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7129, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.9162, allocations: 138.8 MB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.9165, allocations: 82.28 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.9325, allocations: 5.437 MB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9326, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.9326, allocations: 0 / 1.105 GB, free: 11.59 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.0005273/0.9331, allocations: 390.2 kB / 1.106 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9332, allocations: 8.031 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.9336, allocations: 68.95 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.9337, allocations: 179 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.9337, allocations: 7.938 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.9338, allocations: 7.906 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/0.9339, allocations: 37.61 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.934, allocations: 77.59 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.9341, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.9341, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.9341, allocations: 4 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.9347, allocations: 309.2 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.9348, allocations: 70.5 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.9348, allocations: 27.77 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.9349, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.9349, allocations: 34.56 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.9349, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.01277/0.9477, allocations: 2.111 MB / 1.109 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.9478, allocations: 51.41 kB / 1.109 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.9479, allocations: 96.98 kB / 1.109 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.9479, allocations: 25.7 kB / 1.109 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.948, allocations: 91.98 kB / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.9481, allocations: 35.45 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.9481, allocations: 0 / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9482, allocations: 318.8 kB / 1.109 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.9484, allocations: 115.9 kB / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.9486, allocations: 111.9 kB / 1.109 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.9489, allocations: 132.9 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.949, allocations: 0 / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006888/0.9497, allocations: 326.5 kB / 1.11 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9497, allocations: 4 kB / 1.11 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9497, allocations: 0 / 1.11 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.9497, allocations: 8 kB / 1.11 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.9506, allocations: 123.7 kB / 1.11 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.9506, allocations: 3.953 kB / 1.11 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.9512, allocations: 57.88 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.9512, allocations: 27.94 kB / 1.11 GB, free: 6.512 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 (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.0001367/0.9514, allocations: 101.6 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.9514, allocations: 7.906 kB / 1.11 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.9515, allocations: 8.406 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.9515, allocations: 0.6562 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9515, allocations: 3.984 kB / 1.11 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.9515, allocations: 11.95 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.9528, allocations: 0.8783 MB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.9529, allocations: 0 / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.9537, allocations: 115.8 kB / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9537, allocations: 0 / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.9537, allocations: 27.27 kB / 1.111 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9538, allocations: 0 / 1.111 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.9538, allocations: 7.984 kB / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.9548, allocations: 0.5855 MB / 1.112 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.9549, allocations: 113 kB / 1.112 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/0.955, allocations: 5.25 kB / 1.112 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.9557, allocations: 59.95 kB / 1.112 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.9558, allocations: 27.92 kB / 1.112 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.9558, allocations: 23.92 kB / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.9559, allocations: 79.28 kB / 1.112 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9559, allocations: 4 kB / 1.112 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003733/0.9563, allocations: 55.94 kB / 1.112 GB, free: 4.27 MB / 0.7136 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.0002472/0.9565, allocations: 119.7 kB / 1.112 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.9571, allocations: 265.5 kB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9571, allocations: 3.938 kB / 1.112 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.9573, allocations: 139.8 kB / 1.113 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.9576, allocations: 12.84 kB / 1.113 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.9611, allocations: 0.684 MB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.9614, allocations: 0.6968 MB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000647/0.9621, allocations: 92.66 kB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.9623, allocations: 51.31 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.9623, allocations: 0 / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.005725/0.9681, allocations: 3.149 MB / 1.117 GB, free: 15.05 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)