Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 113.7 kB / 16.38 MB, free: 6.02 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.001274/0.001274, allocations: 188.4 kB / 17.31 MB, free: 5.617 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.35/1.35, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.702/1.702, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001572/0.001573, allocations: 68.11 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2345, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002018/0.2365, allocations: 0.6123 MB / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2384, allocations: 1.478 MB / 0.7869 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.2385, allocations: 0 / 0.7869 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.2385, allocations: 0 / 0.7869 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.74e-05/0.2386, allocations: 4 kB / 0.7869 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.2391, allocations: 143.4 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.2392, allocations: 27.97 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.2393, allocations: 0 / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.2393, allocations: 23.91 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.2394, allocations: 19.97 kB / 0.7871 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.2395, allocations: 7.938 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.2399, allocations: 323.3 kB / 0.7874 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.24, allocations: 11.92 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.24, allocations: 7.984 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.2403, allocations: 183.7 kB / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2403, allocations: 0 / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2403, allocations: 0 / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2404, allocations: 0 / 0.7876 GB, free: 336 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.3888/0.6291, allocations: 365.5 kB / 0.7879 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6292, allocations: 9.438 kB / 0.7879 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.6297, allocations: 67.98 kB / 0.788 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.087e-05/0.6298, allocations: 164.9 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.6298, allocations: 1.188 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.6298, allocations: 5.969 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.63, allocations: 79.3 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6301, allocations: 0 / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.6301, allocations: 7.094 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6301, allocations: 1.781 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.6304, allocations: 66.02 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.6305, allocations: 165.2 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.631, allocations: 123.2 kB / 0.7886 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.6312, allocations: 45.97 kB / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/0.6316, allocations: 154.2 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.6316, allocations: 34.75 kB / 0.7888 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.6316, allocations: 0 / 0.7888 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0009809/0.6326, allocations: 409 kB / 0.7892 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.3e-05/0.6326, allocations: 51.91 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.6327, allocations: 92.73 kB / 0.7893 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.6327, allocations: 31.7 kB / 0.7894 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.6327, allocations: 80.8 kB / 0.7894 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.6328, allocations: 23.48 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.6328, allocations: 23.84 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.6328, allocations: 318.2 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.633, allocations: 36.23 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.6331, allocations: 37.42 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.6334, allocations: 80.84 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.6334, allocations: 2.531 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003057/0.6337, allocations: 109.9 kB / 0.79 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6337, allocations: 5.25 kB / 0.7901 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6337, allocations: 3.938 kB / 0.7901 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6338, allocations: 0 / 0.7901 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.6339, allocations: 21.94 kB / 0.7901 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6339, allocations: 2.781 kB / 0.7901 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.634, allocations: 16.66 kB / 0.7901 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.634, allocations: 2.625 kB / 0.7901 GB, free: 47.45 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 (6): * Single equations (assignments): 6 * 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 4.607e-05/0.6341, allocations: 115.2 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.6341, allocations: 2 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.6345, allocations: 136.2 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6345, allocations: 2.625 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6345, allocations: 0 / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.6345, allocations: 93.84 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.6346, allocations: 2.109 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6347, allocations: 13.8 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.6347, allocations: 4.781 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004204/0.6351, allocations: 211.5 kB / 0.7907 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004958/0.6356, allocations: 334.2 kB / 0.791 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001416/0.6358, allocations: 42.27 kB / 0.791 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.319e-05/0.6358, allocations: 77.91 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of Backend: time 7.81e-07/0.6358, allocations: 0 / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.6364, allocations: 187.6 kB / 0.7913 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003052/0.6367, allocations: 0.5598 MB / 0.7918 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.003434/0.6402, allocations: 1.693 MB / 0.7935 GB, free: 46.08 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)