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.001189/0.001189, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008764/0.008765, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.464/1.464, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.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.681/1.681, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.000542/0.0005419, allocations: 15.56 kB / 0.6743 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001205/0.2315, allocations: 0.5085 MB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2337, allocations: 1.523 MB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.2338, allocations: 4 kB / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.2338, allocations: 0 / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.2339, allocations: 0 / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.2344, allocations: 115.7 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2345, allocations: 51.84 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.2346, allocations: 4 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.2347, allocations: 27.91 kB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.2348, allocations: 27.91 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.2348, allocations: 4 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.2353, allocations: 327.3 kB / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.2353, allocations: 11.92 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.2354, allocations: 49.56 kB / 0.7905 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.2357, allocations: 207.8 kB / 0.7907 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2358, allocations: 4 kB / 0.7907 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2358, allocations: 3.938 kB / 0.7907 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.2358, allocations: 0 / 0.7907 GB, free: 8.703 MB / 0.6075 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.0006784/0.2365, allocations: 391.4 kB / 0.791 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2365, allocations: 12.03 kB / 0.7911 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.237, allocations: 88.75 kB / 0.7911 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2371, allocations: 168.3 kB / 0.7913 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.2372, allocations: 4.375 kB / 0.7913 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.2372, allocations: 8.375 kB / 0.7913 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.2376, allocations: 125.9 kB / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2376, allocations: 0 / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.2376, allocations: 8 kB / 0.7914 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2376, allocations: 0 / 0.7914 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.2382, allocations: 119.9 kB / 0.7916 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.2388, allocations: 344.6 kB / 0.7919 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.2394, allocations: 178.4 kB / 0.7921 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.2397, allocations: 68.97 kB / 0.7921 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2397, allocations: 7.922 kB / 0.7921 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2397, allocations: 38.55 kB / 0.7922 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2398, allocations: 4 kB / 0.7922 GB, free: 7.008 MB / 0.6075 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.01875/0.2585, allocations: 3.179 MB / 0.7953 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2586, allocations: 63.34 kB / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2587, allocations: 101.8 kB / 0.7954 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.2588, allocations: 25.7 kB / 0.7955 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.2588, allocations: 92.08 kB / 0.7955 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.2589, allocations: 39.36 kB / 0.7956 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.259, allocations: 17.72 kB / 0.7956 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2591, allocations: 314.8 kB / 0.7959 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.2598, allocations: 219.8 kB / 0.7961 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.2605, allocations: 215.8 kB / 0.7963 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.2619, allocations: 448.5 kB / 0.7967 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2619, allocations: 0 / 0.7967 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001518/0.2634, allocations: 0.513 MB / 0.7972 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2634, allocations: 4 kB / 0.7972 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2634, allocations: 4 kB / 0.7973 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.2635, allocations: 0 / 0.7973 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/0.2643, allocations: 123.8 kB / 0.7974 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2643, allocations: 7.875 kB / 0.7974 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.265, allocations: 60.03 kB / 0.7974 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.265, allocations: 31.86 kB / 0.7975 GB, free: 1.438 MB / 0.6075 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.0001652/0.2652, allocations: 122.4 kB / 0.7976 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.2653, allocations: 7.906 kB / 0.7976 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.2653, allocations: 7.969 kB / 0.7976 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2653, allocations: 0 / 0.7976 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2654, allocations: 3.938 kB / 0.7976 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2654, allocations: 0 / 0.7976 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.2675, allocations: 1.105 MB / 0.7987 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2675, allocations: 0 / 0.7987 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/0.2684, allocations: 119.8 kB / 0.7988 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.2684, allocations: 7.938 kB / 0.7988 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.2685, allocations: 27.92 kB / 0.7988 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2685, allocations: 3.938 kB / 0.7988 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2685, allocations: 0 / 0.7988 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.2708, allocations: 0.8659 MB / 0.7997 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.271, allocations: 117 kB / 0.7998 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.271, allocations: 3.984 kB / 0.7998 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.2718, allocations: 56 kB / 0.7998 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2719, allocations: 31.92 kB / 0.7999 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.2719, allocations: 23.94 kB / 0.7999 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.272, allocations: 83.27 kB / 0.8 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.272, allocations: 0 / 0.8 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003771/0.2724, allocations: 52 kB / 0.8 GB, free: 14.65 MB / 0.6231 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.000231/0.2726, allocations: 119.2 kB / 0.8001 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.2741, allocations: 478.3 kB / 0.8006 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2741, allocations: 0 / 0.8006 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.2749, allocations: 243.7 kB / 0.8008 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.2752, allocations: 11.98 kB / 0.8008 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.2797, allocations: 0.8814 MB / 0.8017 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.2799, allocations: 0.6887 MB / 0.8024 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006581/0.2806, allocations: 97.66 kB / 0.8025 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.2809, allocations: 59.3 kB / 0.8025 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.2809, allocations: 0 / 0.8025 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.006737/0.2876, allocations: 3.329 MB / 0.8058 GB, free: 8.699 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: