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.57/1.57, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.000897/0.000897, allocations: 187.6 kB / 372.9 MB, free: 10.15 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.376/1.376, allocations: 205.4 MB / 0.6316 GB, free: 9.816 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007632/0.0007633, allocations: 96.69 kB / 0.745 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004117, allocations: 17.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009449/0.24, allocations: 0.4972 MB / 0.9812 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2416, allocations: 1.449 MB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.2417, allocations: 3.938 kB / 0.9827 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.2417, allocations: 0 / 0.9827 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.2418, allocations: 4 kB / 0.9827 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.2422, allocations: 113.9 kB / 0.9828 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.2423, allocations: 43.91 kB / 0.9828 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.2423, allocations: 3.984 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.2424, allocations: 23.92 kB / 0.9828 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.2425, allocations: 39.89 kB / 0.9829 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2425, allocations: 7.938 kB / 0.9829 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.2428, allocations: 307.4 kB / 0.9832 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.2428, allocations: 15.92 kB / 0.9832 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.2429, allocations: 45.62 kB / 0.9832 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.2431, allocations: 144 kB / 0.9834 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2431, allocations: 0 / 0.9834 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2431, allocations: 0 / 0.9834 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2431, allocations: 3.938 kB / 0.9834 GB, free: 24.63 MB / 0.6198 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.0004828/0.2436, allocations: 395.3 kB / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2437, allocations: 8.031 kB / 0.9838 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.2441, allocations: 88.75 kB / 0.9838 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.2442, allocations: 164.4 kB / 0.984 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.2442, allocations: 4.375 kB / 0.984 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.2442, allocations: 12.38 kB / 0.984 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2446, allocations: 125.9 kB / 0.9841 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2446, allocations: 0 / 0.9841 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2446, allocations: 4 kB / 0.9841 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2446, allocations: 4 kB / 0.9841 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.2451, allocations: 119.8 kB / 0.9843 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.2456, allocations: 344.6 kB / 0.9846 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.2462, allocations: 186.3 kB / 0.9848 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.2464, allocations: 68.81 kB / 0.9848 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.2464, allocations: 3.984 kB / 0.9848 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.2464, allocations: 38.56 kB / 0.9849 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2464, allocations: 3.938 kB / 0.9849 GB, free: 22.93 MB / 0.6198 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.01639/0.2628, allocations: 3.179 MB / 0.988 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.2629, allocations: 55.41 kB / 0.988 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.2629, allocations: 101.8 kB / 0.9881 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.263, allocations: 25.7 kB / 0.9882 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.263, allocations: 100 kB / 0.9882 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.2631, allocations: 39.36 kB / 0.9883 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.2631, allocations: 0 / 0.9883 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.2632, allocations: 314.8 kB / 0.9886 GB, free: 19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.2638, allocations: 219.7 kB / 0.9888 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.2644, allocations: 219.8 kB / 0.989 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.2655, allocations: 446.6 kB / 0.9894 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2655, allocations: 0 / 0.9894 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001302/0.2669, allocations: 0.5169 MB / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2669, allocations: 4 kB / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2669, allocations: 0 / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2669, allocations: 4 kB / 0.9899 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.2677, allocations: 127.7 kB / 0.9901 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2677, allocations: 3.938 kB / 0.9901 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.2683, allocations: 55.94 kB / 0.9901 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.2683, allocations: 31.92 kB / 0.9902 GB, free: 17.39 MB / 0.6198 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.000123/0.2685, allocations: 113.8 kB / 0.9903 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.2685, allocations: 7.906 kB / 0.9903 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.2686, allocations: 11.97 kB / 0.9903 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2686, allocations: 7.984 kB / 0.9903 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2686, allocations: 0 / 0.9903 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.2687, allocations: 117 kB / 0.9904 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.2688, allocations: 4 kB / 0.9904 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.2695, allocations: 63.92 kB / 0.9905 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.2696, allocations: 27.92 kB / 0.9905 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001915/0.2715, allocations: 0.6681 MB / 0.9911 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001978/0.2735, allocations: 0.9356 MB / 0.9921 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005683/0.2741, allocations: 228.2 kB / 0.9923 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.143e-05/0.2741, allocations: 83.2 kB / 0.9924 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of Backend: time 8.32e-07/0.2741, allocations: 0 / 0.9924 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.2752, allocations: 392.8 kB / 0.9927 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005046/0.2757, allocations: 0.672 MB / 0.9934 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.007758/0.2835, allocations: 6.496 MB / 0.9997 GB, free: 7.469 MB / 0.6198 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)