Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.698/1.698, allocations: 287.4 MB / 303.2 MB, free: 8.211 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.0009607/0.0009607, allocations: 179 kB / 371.8 MB, free: 10.82 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.282/1.282, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0007378/0.0007379, allocations: 96.78 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005922/0.0005923, allocations: 13.78 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2312, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001027/0.2323, allocations: 0.5047 MB / 0.9798 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2344, allocations: 1.437 MB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.2344, allocations: 0 / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.2345, allocations: 3.938 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.2345, allocations: 7.984 kB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.235, allocations: 107.7 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.2351, allocations: 43.91 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.2352, allocations: 3.984 kB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.2353, allocations: 23.92 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.2354, allocations: 31.91 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2354, allocations: 4 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.236, allocations: 307.4 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.236, allocations: 11.92 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.236, allocations: 37.64 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.2363, allocations: 152 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2363, allocations: 0 / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2363, allocations: 0 / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.2364, allocations: 4 kB / 0.9819 GB, free: 25.46 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.0006691/0.237, allocations: 391.3 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2371, allocations: 8.031 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006148/0.2377, allocations: 88.75 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.892e-05/0.2378, allocations: 168.4 kB / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2379, allocations: 8.312 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.2379, allocations: 8.375 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.2384, allocations: 122.7 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2385, allocations: 0 / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2385, allocations: 8 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2385, allocations: 0 / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/0.2393, allocations: 127.9 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.2399, allocations: 340.5 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/0.2409, allocations: 182.4 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.2413, allocations: 68.81 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2414, allocations: 7.922 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2414, allocations: 30.56 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.2414, allocations: 0 / 0.9834 GB, free: 23.78 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.02753/0.2689, allocations: 3.188 MB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.269, allocations: 51.41 kB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.2691, allocations: 105.8 kB / 0.9867 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.2692, allocations: 25.7 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.2692, allocations: 96.08 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.2693, allocations: 39.36 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.2694, allocations: 0 / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.2694, allocations: 318.8 kB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.2705, allocations: 215.8 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.2715, allocations: 217.7 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.2736, allocations: 444.5 kB / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2737, allocations: 0 / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002377/0.276, allocations: 0.5223 MB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2761, allocations: 4 kB / 0.9885 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2761, allocations: 0 / 0.9885 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2761, allocations: 4 kB / 0.9885 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.2773, allocations: 123.8 kB / 0.9886 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2774, allocations: 3.938 kB / 0.9886 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00087/0.2782, allocations: 55.94 kB / 0.9886 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.2783, allocations: 23.94 kB / 0.9887 GB, free: 18.23 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.000168/0.2785, allocations: 125.9 kB / 0.9888 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2786, allocations: 7.844 kB / 0.9888 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.2787, allocations: 15.95 kB / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2787, allocations: 0 / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2787, allocations: 0 / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.2789, allocations: 120.9 kB / 0.9889 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.279, allocations: 4 kB / 0.9889 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.2801, allocations: 55.94 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2802, allocations: 27.92 kB / 0.989 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003398/0.2836, allocations: 0.6642 MB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003565/0.2872, allocations: 0.9475 MB / 0.9906 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001042/0.2883, allocations: 227.9 kB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.2883, allocations: 79.28 kB / 0.9909 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Backend: time 1.523e-06/0.2884, allocations: 4 kB / 0.9909 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.2903, allocations: 389.9 kB / 0.9912 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007067/0.291, allocations: 0.6641 MB / 0.9919 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.01153/0.3025, allocations: 6.502 MB / 0.9982 GB, free: 8.301 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)