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.001351/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001604/0.001604, allocations: 189.3 kB / 16.13 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.369/1.369, allocations: 205.1 MB / 222 MB, free: 4.742 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.624/1.624, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001427/0.001427, allocations: 70.14 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2421, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002223/0.2444, allocations: 0.8474 MB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2462, allocations: 1.534 MB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.2463, allocations: 0 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.2463, allocations: 3.984 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.2464, allocations: 3.938 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.2468, allocations: 118.9 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.535e-05/0.2469, allocations: 43.91 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.2469, allocations: 4 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.247, allocations: 27.91 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.2471, allocations: 31.89 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2471, allocations: 8 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.2475, allocations: 323.3 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.2476, allocations: 11.92 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.2476, allocations: 23.81 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2479, allocations: 215.8 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2479, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2479, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2479, allocations: 0 / 0.7858 GB, free: 10.79 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.0006497/0.2486, allocations: 407.3 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2486, allocations: 8.031 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.2491, allocations: 72.75 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2492, allocations: 164.4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.2492, allocations: 8.375 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2493, allocations: 8.375 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.2496, allocations: 117.9 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2496, allocations: 0 / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2497, allocations: 0 / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2497, allocations: 0 / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.2501, allocations: 107.8 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.2507, allocations: 336.5 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/0.2513, allocations: 158.4 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.2515, allocations: 52.81 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2516, allocations: 8 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2516, allocations: 34.55 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2516, allocations: 0 / 0.7872 GB, free: 9.176 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.018/0.2696, allocations: 2.822 MB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.2697, allocations: 63.34 kB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.2698, allocations: 97.84 kB / 0.7901 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.2698, allocations: 33.7 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2699, allocations: 91.98 kB / 0.7902 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.27, allocations: 39.45 kB / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.2701, allocations: 65.58 kB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2703, allocations: 318.8 kB / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00062/0.2709, allocations: 187.8 kB / 0.7908 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.2715, allocations: 199.8 kB / 0.791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.2728, allocations: 388.5 kB / 0.7914 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2728, allocations: 0 / 0.7914 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001455/0.2742, allocations: 480.8 kB / 0.7918 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2743, allocations: 4 kB / 0.7918 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2743, allocations: 0 / 0.7918 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2743, allocations: 4.094 kB / 0.7918 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.2751, allocations: 111.7 kB / 0.792 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2751, allocations: 7.922 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.2757, allocations: 51.94 kB / 0.792 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.2758, allocations: 23.88 kB / 0.792 GB, free: 4.082 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.0001449/0.276, allocations: 114.5 kB / 0.7921 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.308e-05/0.2761, allocations: 7.906 kB / 0.7922 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.2761, allocations: 11.97 kB / 0.7922 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2761, allocations: 4 kB / 0.7922 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.2761, allocations: 7.922 kB / 0.7922 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2761, allocations: 0 / 0.7922 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.2782, allocations: 1.043 MB / 0.7932 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2782, allocations: 0 / 0.7932 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.279, allocations: 107.8 kB / 0.7933 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2791, allocations: 3.938 kB / 0.7933 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.2791, allocations: 35.86 kB / 0.7933 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2791, allocations: 0 / 0.7933 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2791, allocations: 0 / 0.7933 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.2813, allocations: 0.7919 MB / 0.7941 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.2814, allocations: 124.9 kB / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.2815, allocations: 4 kB / 0.7942 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007048/0.2822, allocations: 48 kB / 0.7943 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2823, allocations: 23.92 kB / 0.7943 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.2824, allocations: 23.94 kB / 0.7943 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.2824, allocations: 87.27 kB / 0.7944 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2824, allocations: 0 / 0.7944 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003706/0.2828, allocations: 52 kB / 0.7945 GB, free: 1.441 MB / 0.6075 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.0002213/0.2831, allocations: 118.4 kB / 0.7946 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.2844, allocations: 419.5 kB / 0.795 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2844, allocations: 0 / 0.795 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.2851, allocations: 231.7 kB / 0.7952 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2855, allocations: 8 kB / 0.7952 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.2898, allocations: 0.7853 MB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.29, allocations: 0.6965 MB / 0.7966 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006748/0.2907, allocations: 89.67 kB / 0.7967 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.291, allocations: 55.3 kB / 0.7968 GB, free: 15 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.291, allocations: 0 / 0.7968 GB, free: 15 MB / 0.6231 GB Notification: Performance of Templates: time 0.005706/0.2967, allocations: 3.328 MB / 0.8 GB, free: 11.66 MB / 0.6231 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)