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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 102.4 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 194.7 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 74.86 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2016, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002279/0.2039, allocations: 0.7829 MB / 0.7856 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.206, allocations: 1.506 MB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.206, allocations: 0 / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.2061, allocations: 3.938 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.2062, allocations: 7.922 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.2067, allocations: 143.5 kB / 0.7872 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.2068, allocations: 51.83 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.2069, allocations: 7.938 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.207, allocations: 31.91 kB / 0.7873 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.2071, allocations: 31.91 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2071, allocations: 4 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.2075, allocations: 319.3 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.2076, allocations: 11.94 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.2076, allocations: 31.84 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.208, allocations: 219.5 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.208, allocations: 0 / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.208, allocations: 0 / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.208, allocations: 0 / 0.7878 GB, free: 60 kB / 0.6544 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.3588/0.5668, allocations: 390.6 kB / 0.7882 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5669, allocations: 11.03 kB / 0.7882 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.5673, allocations: 72.55 kB / 0.7883 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.5674, allocations: 168 kB / 0.7885 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.5675, allocations: 5.125 kB / 0.7885 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.5675, allocations: 9.812 kB / 0.7885 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.5678, allocations: 111.1 kB / 0.7886 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5679, allocations: 0 / 0.7886 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.5679, allocations: 3.938 kB / 0.7886 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5679, allocations: 6.297 kB / 0.7886 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.5683, allocations: 103.8 kB / 0.7887 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.5688, allocations: 337.6 kB / 0.789 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.5694, allocations: 154.2 kB / 0.7892 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.5696, allocations: 62.89 kB / 0.7892 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5696, allocations: 1.875 kB / 0.7892 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.5697, allocations: 33.69 kB / 0.7893 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.5697, allocations: 0.625 kB / 0.7893 GB, free: 48.34 MB / 0.6544 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.01832/0.588, allocations: 2.838 MB / 0.792 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.5881, allocations: 51.41 kB / 0.7921 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.5882, allocations: 106.3 kB / 0.7922 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.5882, allocations: 29.33 kB / 0.7922 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.5883, allocations: 88.42 kB / 0.7923 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.5884, allocations: 40.53 kB / 0.7923 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.5885, allocations: 69.77 kB / 0.7924 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.5886, allocations: 318.1 kB / 0.7927 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/0.5892, allocations: 195.2 kB / 0.7929 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.5898, allocations: 191.7 kB / 0.7931 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.591, allocations: 397.1 kB / 0.7934 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.591, allocations: 0 / 0.7934 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001411/0.5924, allocations: 475 kB / 0.7939 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5924, allocations: 6.156 kB / 0.7939 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5924, allocations: 4.656 kB / 0.7939 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5924, allocations: 3.844 kB / 0.7939 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.5933, allocations: 105 kB / 0.794 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5933, allocations: 0 / 0.794 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.5939, allocations: 52.23 kB / 0.7941 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.594, allocations: 23.39 kB / 0.7941 GB, free: 47.13 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.5941, allocations: 119 kB / 0.7942 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.5942, allocations: 9.094 kB / 0.7942 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.5943, allocations: 14.42 kB / 0.7942 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5943, allocations: 3.406 kB / 0.7942 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5943, allocations: 0 / 0.7942 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5943, allocations: 3.938 kB / 0.7942 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.5963, allocations: 1.047 MB / 0.7952 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5963, allocations: 0 / 0.7952 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/0.5971, allocations: 107.2 kB / 0.7953 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5971, allocations: 0 / 0.7953 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.5972, allocations: 28.48 kB / 0.7954 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.5972, allocations: 6.047 kB / 0.7954 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5972, allocations: 0 / 0.7954 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.5994, allocations: 0.7898 MB / 0.7962 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.5995, allocations: 121 kB / 0.7963 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.5996, allocations: 5.062 kB / 0.7963 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.6003, allocations: 48.58 kB / 0.7963 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.6005, allocations: 28.98 kB / 0.7963 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.6005, allocations: 25.33 kB / 0.7964 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.6006, allocations: 82.16 kB / 0.7965 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6006, allocations: 0 / 0.7965 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003772/0.601, allocations: 55.95 kB / 0.7965 GB, free: 46.12 MB / 0.6544 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 (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.0001827/0.6011, allocations: 116.5 kB / 0.7966 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.6026, allocations: 430.5 kB / 0.797 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6026, allocations: 0 / 0.797 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.6033, allocations: 224.2 kB / 0.7972 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.6037, allocations: 10.31 kB / 0.7972 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.6081, allocations: 0.7552 MB / 0.798 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.6082, allocations: 0.6914 MB / 0.7987 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004634/0.6087, allocations: 87.97 kB / 0.7987 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.6089, allocations: 55.41 kB / 0.7988 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.609, allocations: 0 / 0.7988 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.006916/0.6159, allocations: 3.468 MB / 0.8022 GB, free: 44.96 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)