Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 195.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.86 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2993, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001991/0.3013, allocations: 0.7777 MB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3029, allocations: 1.48 MB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.303, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.303, allocations: 3.938 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.3031, allocations: 11.92 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.3036, allocations: 139.5 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.3036, allocations: 47.91 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.3037, allocations: 19.97 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.3038, allocations: 23.91 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.3038, allocations: 31.91 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3039, allocations: 4 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.3043, allocations: 323.3 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.3043, allocations: 11.92 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.3044, allocations: 31.84 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.3047, allocations: 203.6 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3047, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3047, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3047, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 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.0006297/0.3053, allocations: 403.7 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3054, allocations: 8.031 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004532/0.3058, allocations: 72.75 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.306, allocations: 168.3 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.306, allocations: 8.312 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.306, allocations: 16.36 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.3064, allocations: 113.9 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3064, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3064, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3065, allocations: 7.938 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.3069, allocations: 99.89 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.3075, allocations: 332.7 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.3082, allocations: 154.4 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.3084, allocations: 56.81 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3085, allocations: 4 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3085, allocations: 34.5 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3085, allocations: 0 / 1.073 GB, free: 5.684 MB / 0.8262 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.02017/0.3287, allocations: 2.834 MB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3288, allocations: 59.34 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.3289, allocations: 105.8 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.3289, allocations: 25.7 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.329, allocations: 99.92 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/0.3291, allocations: 35.45 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.3294, allocations: 69.58 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3295, allocations: 318.8 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.3306, allocations: 195.8 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.3316, allocations: 191.2 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.3337, allocations: 392.5 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3338, allocations: 0 / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002488/0.3363, allocations: 473.3 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3363, allocations: 5.406 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3363, allocations: 4 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3363, allocations: 0 / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.3376, allocations: 111.7 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3376, allocations: 3.938 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000927/0.3386, allocations: 47.94 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.3387, allocations: 23.94 kB / 1.077 GB, free: 0.5859 MB / 0.8262 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.0002216/0.3389, allocations: 114.4 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.3391, allocations: 7.906 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.3392, allocations: 11.95 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3392, allocations: 8 kB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.3392, allocations: 3.938 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3392, allocations: 0 / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.3425, allocations: 1.047 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3425, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.3438, allocations: 115.8 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3438, allocations: 3.938 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.059e-05/0.3439, allocations: 19.94 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3439, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3439, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.3475, allocations: 0.7955 MB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.3478, allocations: 128.9 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3479, allocations: 160 / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.3489, allocations: 51.88 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.349, allocations: 27.92 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/0.3491, allocations: 23.94 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.3492, allocations: 87.27 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3492, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006501/0.3499, allocations: 56 kB / 1.08 GB, free: 13.93 MB / 0.8419 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.0002452/0.3501, allocations: 107.2 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.3524, allocations: 431.4 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3524, allocations: 4 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3535, allocations: 227.7 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.3541, allocations: 8.562 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.3605, allocations: 0.7557 MB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3608, allocations: 0.6924 MB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001179/0.362, allocations: 93.67 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.3624, allocations: 51.31 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of SimCode: time 7.72e-07/0.3624, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.008799/0.3712, allocations: 3.477 MB / 1.086 GB, free: 8.043 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)