Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.551/2.551, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 181.2 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5767 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008627/0.0008624, allocations: 97.67 kB / 0.6813 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007603/0.0007605, allocations: 12.78 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2188, allocations: 106.3 MB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001094/0.2199, allocations: 0.5126 MB / 0.8995 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.222, allocations: 1.456 MB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.2221, allocations: 0 / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.2221, allocations: 0 / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.2222, allocations: 8 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.2227, allocations: 99.69 kB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.2228, allocations: 47.89 kB / 0.9011 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.2229, allocations: 7.984 kB / 0.9011 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.223, allocations: 23.92 kB / 0.9011 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.2231, allocations: 35.89 kB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2231, allocations: 0 / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.2237, allocations: 303.4 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.2237, allocations: 15.91 kB / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2238, allocations: 33.7 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.2241, allocations: 143.8 kB / 0.9017 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2241, allocations: 4 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2241, allocations: 0 / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2241, allocations: 0 / 0.9017 GB, free: 63.21 MB / 0.6042 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.000774/0.2249, allocations: 399.3 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2249, allocations: 8.031 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007386/0.2257, allocations: 88.75 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2258, allocations: 172.3 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.2259, allocations: 8.375 kB / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.2259, allocations: 4.375 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.2265, allocations: 124.3 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.2265, allocations: 4 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.2266, allocations: 4 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2266, allocations: 0 / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008933/0.2275, allocations: 135.8 kB / 0.9026 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.2282, allocations: 328.6 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2294, allocations: 190.4 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.2299, allocations: 64.81 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2299, allocations: 4 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2299, allocations: 38.5 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.2299, allocations: 0 / 0.9032 GB, free: 61.52 MB / 0.6042 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.03945/0.2694, allocations: 3.185 MB / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.2695, allocations: 55.34 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.2696, allocations: 97.86 kB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.55e-05/0.2696, allocations: 29.7 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.2697, allocations: 92.03 kB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.2698, allocations: 39.39 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.2699, allocations: 4 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.2699, allocations: 318.8 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.2712, allocations: 215.8 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.2724, allocations: 219.9 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.2737, allocations: 227.8 kB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2737, allocations: 0 / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002818/0.2765, allocations: 0.5114 MB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.2766, allocations: 4 kB / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2766, allocations: 0 / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.2766, allocations: 0 / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.2782, allocations: 119.8 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2782, allocations: 7.938 kB / 0.9081 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2797, allocations: 55.94 kB / 0.9082 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.2798, allocations: 31.88 kB / 0.9082 GB, free: 56.19 MB / 0.6042 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.0003515/0.2802, allocations: 117.8 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.2804, allocations: 7.906 kB / 0.9083 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.2806, allocations: 11.97 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.2806, allocations: 4 kB / 0.9084 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.2806, allocations: 3.938 kB / 0.9084 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2806, allocations: 0 / 0.9084 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.2853, allocations: 1.105 MB / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.2854, allocations: 0 / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.287, allocations: 119.8 kB / 0.9096 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.2871, allocations: 7.938 kB / 0.9096 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.2872, allocations: 23.92 kB / 0.9096 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2872, allocations: 0 / 0.9096 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2872, allocations: 0 / 0.9096 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.2914, allocations: 0.8698 MB / 0.9104 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.2916, allocations: 120.9 kB / 0.9106 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.2917, allocations: 96 / 0.9106 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.2931, allocations: 71.92 kB / 0.9106 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2932, allocations: 27.92 kB / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.2933, allocations: 23.94 kB / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.2934, allocations: 87.44 kB / 0.9108 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2934, allocations: 0 / 0.9108 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005061/0.2939, allocations: 52 kB / 0.9108 GB, free: 53.39 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.2942, allocations: 111.2 kB / 0.9109 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.2967, allocations: 479.4 kB / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2968, allocations: 0 / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.2981, allocations: 247.7 kB / 0.9116 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.2985, allocations: 7.984 kB / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.3065, allocations: 0.8696 MB / 0.9125 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.3067, allocations: 0.6926 MB / 0.9131 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001153/0.3079, allocations: 93.67 kB / 0.9132 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.3083, allocations: 59.3 kB / 0.9133 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.3083, allocations: 0 / 0.9133 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.00782/0.3162, allocations: 3.245 MB / 0.9164 GB, free: 47.54 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)