Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.725/1.725, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001155, allocations: 184.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.2 MB / 0.6626 GB, free: 4.199 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008235/0.0008237, allocations: 103.7 kB / 0.7808 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004539, allocations: 12 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.652, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.8415, allocations: 142.7 MB / 1.166 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.8419, allocations: 87.09 kB / 1.166 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.8592, allocations: 5.539 MB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8592, allocations: 0 / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.8592, allocations: 4 kB / 1.171 GB, free: 13.08 MB / 0.7448 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.0005972/0.8598, allocations: 405.8 kB / 1.172 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.8599, allocations: 8.031 kB / 1.172 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.8602, allocations: 66.98 kB / 1.172 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.8604, allocations: 165.7 kB / 1.172 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.8604, allocations: 8.375 kB / 1.172 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.8605, allocations: 5.031 kB / 1.172 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.8609, allocations: 128.6 kB / 1.172 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.8609, allocations: 0.7031 kB / 1.172 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.861, allocations: 11.94 kB / 1.172 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.861, allocations: 0 / 1.172 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.8615, allocations: 123.5 kB / 1.172 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.8621, allocations: 341.7 kB / 1.172 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.8628, allocations: 178.2 kB / 1.173 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.863, allocations: 71.22 kB / 1.173 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.8631, allocations: 3.984 kB / 1.173 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.8631, allocations: 36.39 kB / 1.173 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.8631, allocations: 4 kB / 1.173 GB, free: 11.56 MB / 0.7448 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01751/0.8806, allocations: 3.177 MB / 1.176 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.8807, allocations: 60.23 kB / 1.176 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.8808, allocations: 107.3 kB / 1.176 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.8808, allocations: 25.7 kB / 1.176 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.8809, allocations: 92.03 kB / 1.176 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.881, allocations: 31.47 kB / 1.176 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.881, allocations: 8 kB / 1.176 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.8811, allocations: 314.8 kB / 1.176 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.8817, allocations: 219.8 kB / 1.177 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.8824, allocations: 212.8 kB / 1.177 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.8837, allocations: 450.4 kB / 1.177 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.8837, allocations: 0 / 1.177 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001467/0.8851, allocations: 0.5231 MB / 1.178 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.8852, allocations: 8 kB / 1.178 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8852, allocations: 3.938 kB / 1.178 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8852, allocations: 0 / 1.178 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.886, allocations: 115.8 kB / 1.178 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.886, allocations: 0.7031 kB / 1.178 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.8866, allocations: 68.72 kB / 1.178 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.8866, allocations: 23.92 kB / 1.178 GB, free: 6.383 MB / 0.7448 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 (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.0001546/0.8868, allocations: 118.4 kB / 1.178 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.8869, allocations: 4 kB / 1.178 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.8869, allocations: 11.91 kB / 1.178 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8869, allocations: 0 / 1.178 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.887, allocations: 5 kB / 1.178 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.887, allocations: 7.922 kB / 1.178 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.8891, allocations: 1.1 MB / 1.179 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8891, allocations: 1.219 kB / 1.179 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007762/0.8899, allocations: 123.7 kB / 1.179 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8899, allocations: 4 kB / 1.179 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.89, allocations: 31.86 kB / 1.179 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.89, allocations: 1.188 kB / 1.179 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.89, allocations: 0 / 1.179 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.8922, allocations: 0.8589 MB / 1.18 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.8924, allocations: 123.6 kB / 1.18 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.8925, allocations: 3.938 kB / 1.18 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.8931, allocations: 56 kB / 1.18 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.8932, allocations: 35.86 kB / 1.18 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.8933, allocations: 23.94 kB / 1.18 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.8933, allocations: 79.27 kB / 1.18 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8933, allocations: 5.969 kB / 1.18 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003997/0.8937, allocations: 63.94 kB / 1.181 GB, free: 3.594 MB / 0.7448 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 () * Number of clocked 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.0002217/0.894, allocations: 119.2 kB / 1.181 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.8954, allocations: 467.5 kB / 1.181 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8954, allocations: 0 / 1.181 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006848/0.8961, allocations: 252.2 kB / 1.181 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.8964, allocations: 8 kB / 1.181 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.9006, allocations: 0.8708 MB / 1.182 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.9009, allocations: 0.6926 MB / 1.183 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007169/0.9016, allocations: 88.67 kB / 1.183 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.9018, allocations: 59.3 kB / 1.183 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.9019, allocations: 3.281 kB / 1.183 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of Templates: time 0.006069/0.9079, allocations: 3.26 MB / 1.186 GB, free: 13.77 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)