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.551/1.551, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001143/0.001143, allocations: 191.5 kB / 376.9 MB, free: 1.812 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.356/1.356, allocations: 205 MB / 0.6354 GB, free: 9.789 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.0009579/0.0009577, allocations: 93.95 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2379, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00228/0.2402, allocations: 0.863 MB / 0.9831 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2423, allocations: 1.529 MB / 0.9846 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.2423, allocations: 4 kB / 0.9846 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.2424, allocations: 3.938 kB / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.2424, allocations: 0 / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.243, allocations: 111.7 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.243, allocations: 43.97 kB / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.2431, allocations: 7.984 kB / 0.9847 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.2432, allocations: 27.91 kB / 0.9848 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.2432, allocations: 35.84 kB / 0.9848 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2433, allocations: 4 kB / 0.9848 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.2437, allocations: 319.3 kB / 0.9851 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.2438, allocations: 15.92 kB / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.2438, allocations: 27.84 kB / 0.9851 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2442, allocations: 211.8 kB / 0.9853 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2442, allocations: 0 / 0.9853 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.52e-07/0.2442, allocations: 0 / 0.9853 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2442, allocations: 0 / 0.9853 GB, free: 7.156 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.0006646/0.2449, allocations: 403.4 kB / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2449, allocations: 8.031 kB / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.2454, allocations: 76.75 kB / 0.9858 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2455, allocations: 164.4 kB / 0.986 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.2456, allocations: 4.375 kB / 0.986 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.2456, allocations: 12.28 kB / 0.986 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.246, allocations: 117.9 kB / 0.9861 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.246, allocations: 7.875 kB / 0.9861 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.246, allocations: 0 / 0.9861 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.246, allocations: 0 / 0.9861 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.2465, allocations: 103.9 kB / 0.9862 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.2472, allocations: 336.5 kB / 0.9865 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.2478, allocations: 162.4 kB / 0.9867 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.2481, allocations: 52.81 kB / 0.9867 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.2481, allocations: 4 kB / 0.9867 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2482, allocations: 34.56 kB / 0.9868 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2482, allocations: 0 / 0.9868 GB, free: 5.539 MB / 0.7136 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.0184/0.2666, allocations: 2.82 MB / 0.9895 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.2667, allocations: 59.34 kB / 0.9896 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.2668, allocations: 109.8 kB / 0.9897 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.2668, allocations: 25.7 kB / 0.9897 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.2669, allocations: 95.98 kB / 0.9898 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.267, allocations: 35.45 kB / 0.9898 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.2671, allocations: 73.52 kB / 0.9899 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2673, allocations: 318.8 kB / 0.9902 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.2679, allocations: 187.8 kB / 0.9904 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.2686, allocations: 199.9 kB / 0.9906 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.2699, allocations: 388.5 kB / 0.9909 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2699, allocations: 0 / 0.9909 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001476/0.2714, allocations: 481.4 kB / 0.9914 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.2714, allocations: 4 kB / 0.9914 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2714, allocations: 192 / 0.9914 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2714, allocations: 4 kB / 0.9914 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/0.2722, allocations: 107.7 kB / 0.9915 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2722, allocations: 7.922 kB / 0.9915 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.2728, allocations: 55.92 kB / 0.9916 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.2729, allocations: 19.94 kB / 0.9916 GB, free: 452 kB / 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 () * 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.0001358/0.273, allocations: 113.8 kB / 0.9917 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.2731, allocations: 4 kB / 0.9917 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.2732, allocations: 11.97 kB / 0.9917 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2732, allocations: 4 kB / 0.9917 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2732, allocations: 7.922 kB / 0.9917 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2732, allocations: 4 kB / 0.9917 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.2753, allocations: 1.051 MB / 0.9928 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2753, allocations: 96 / 0.9928 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.2761, allocations: 111.7 kB / 0.9929 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2761, allocations: 3.938 kB / 0.9929 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.2762, allocations: 23.92 kB / 0.9929 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2762, allocations: 4 kB / 0.9929 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2762, allocations: 0 / 0.9929 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02221/0.2984, allocations: 3.701 MB / 0.9965 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.2986, allocations: 117 kB / 0.9966 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.2987, allocations: 4 kB / 0.9966 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.2993, allocations: 51.98 kB / 0.9967 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.2994, allocations: 19.94 kB / 0.9967 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.2995, allocations: 27.92 kB / 0.9967 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.2996, allocations: 83.28 kB / 0.9968 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2996, allocations: 0 / 0.9968 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000432/0.3, allocations: 56 kB / 0.9969 GB, free: 10.77 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 () * 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.0002128/0.3002, allocations: 119.2 kB / 0.997 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.3017, allocations: 419.5 kB / 0.9974 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3017, allocations: 3.938 kB / 0.9974 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007004/0.3024, allocations: 227.7 kB / 0.9976 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3028, allocations: 11.98 kB / 0.9976 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.3069, allocations: 0.9123 MB / 0.9985 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3071, allocations: 0.6926 MB / 0.9992 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006285/0.3078, allocations: 96.78 kB / 0.9993 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.308, allocations: 51.31 kB / 0.9993 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.308, allocations: 0 / 0.9993 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.006392/0.3144, allocations: 3.488 MB / 1.003 GB, free: 4.691 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)