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.609/1.609, allocations: 288.4 MB / 304.3 MB, free: 8.062 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.001175/0.001174, allocations: 168.5 kB / 372.9 MB, free: 10.14 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.436/1.436, allocations: 205.4 MB / 0.6317 GB, free: 9.867 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.0008458/0.0008458, allocations: 86.88 kB / 0.745 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003739, allocations: 14.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1943, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6277/0.822, allocations: 139.6 MB / 1.117 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.8223, allocations: 84.44 kB / 1.117 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.8371, allocations: 5.509 MB / 1.122 GB, free: 31.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8372, allocations: 0 / 1.122 GB, free: 31.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8372, allocations: 0 / 1.122 GB, free: 31.68 MB / 0.698 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.0004851/0.8377, allocations: 400.5 kB / 1.123 GB, free: 31.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8377, allocations: 7.719 kB / 1.123 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.8381, allocations: 66.95 kB / 1.123 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.8382, allocations: 164.3 kB / 1.123 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.8382, allocations: 16.06 kB / 1.123 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.8383, allocations: 8.125 kB / 1.123 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.8386, allocations: 118.7 kB / 1.123 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.8386, allocations: 7.938 kB / 1.123 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.8386, allocations: 3.938 kB / 1.123 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.8387, allocations: 0 / 1.123 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.8391, allocations: 120.6 kB / 1.123 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.8397, allocations: 343.8 kB / 1.124 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.8402, allocations: 182.8 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.8405, allocations: 73.62 kB / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.8405, allocations: 0 / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.8405, allocations: 38.47 kB / 1.124 GB, free: 30.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.8405, allocations: 0 / 1.124 GB, free: 30.65 MB / 0.698 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.01708/0.8576, allocations: 3.185 MB / 1.127 GB, free: 30.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.8577, allocations: 55.25 kB / 1.127 GB, free: 30.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.8578, allocations: 108.9 kB / 1.127 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.8578, allocations: 29.64 kB / 1.127 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.8579, allocations: 91.67 kB / 1.127 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.8579, allocations: 34.08 kB / 1.127 GB, free: 29.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.858, allocations: 3.812 kB / 1.127 GB, free: 29.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8581, allocations: 317.9 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.8587, allocations: 215 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.8593, allocations: 218.4 kB / 1.128 GB, free: 29.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.8605, allocations: 441.5 kB / 1.129 GB, free: 29.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.8605, allocations: 3.875 kB / 1.129 GB, free: 29.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001372/0.8618, allocations: 0.5181 MB / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8619, allocations: 7.188 kB / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8619, allocations: 0 / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.8619, allocations: 4 kB / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/0.8627, allocations: 123.3 kB / 1.129 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8627, allocations: 0 / 1.129 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.8633, allocations: 64.52 kB / 1.129 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.8633, allocations: 27.44 kB / 1.129 GB, free: 29.33 MB / 0.698 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.0001466/0.8635, allocations: 113 kB / 1.129 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.8635, allocations: 7.75 kB / 1.129 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.8636, allocations: 11.66 kB / 1.129 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8636, allocations: 7.828 kB / 1.129 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8636, allocations: 3.938 kB / 1.129 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8636, allocations: 9.484 kB / 1.129 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.8656, allocations: 1.089 MB / 1.13 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8656, allocations: 4 kB / 1.13 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/0.8664, allocations: 121.4 kB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8664, allocations: 0 / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.8664, allocations: 27.09 kB / 1.131 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8664, allocations: 0 / 1.131 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8665, allocations: 0 / 1.131 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.8698, allocations: 0.876 MB / 1.131 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.8699, allocations: 111.8 kB / 1.132 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.87, allocations: 3.938 kB / 1.132 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/0.8707, allocations: 61.5 kB / 1.132 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.8709, allocations: 27.64 kB / 1.132 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.871, allocations: 27.23 kB / 1.132 GB, free: 27.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.871, allocations: 83.16 kB / 1.132 GB, free: 27.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8711, allocations: 0 / 1.132 GB, free: 27.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006479/0.8717, allocations: 61.56 kB / 1.132 GB, free: 27.88 MB / 0.698 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.0002192/0.872, allocations: 121.7 kB / 1.132 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.8741, allocations: 474.1 kB / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.8741, allocations: 0 / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.8751, allocations: 254.7 kB / 1.133 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.8756, allocations: 6.781 kB / 1.133 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.881, allocations: 0.8652 MB / 1.133 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.8814, allocations: 0.6921 MB / 1.134 GB, free: 26.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00105/0.8824, allocations: 91.41 kB / 1.134 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.8828, allocations: 62.77 kB / 1.134 GB, free: 26.25 MB / 0.698 GB Notification: Performance of SimCode: time 1.823e-06/0.8828, allocations: 0 / 1.134 GB, free: 26.25 MB / 0.698 GB Notification: Performance of Templates: time 0.006936/0.8897, allocations: 3.258 MB / 1.137 GB, free: 24.54 MB / 0.698 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)