Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 219.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.227/3.227, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 70.83 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3377, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002131/0.3399, allocations: 0.8013 MB / 1.355 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.342, allocations: 1.54 MB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.342, allocations: 0 / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.342, allocations: 3.938 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.3421, allocations: 3.938 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.3426, allocations: 147.4 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3427, allocations: 51.91 kB / 1.357 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.3427, allocations: 3.984 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.3428, allocations: 27.91 kB / 1.357 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.3429, allocations: 31.91 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3429, allocations: 4 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.3434, allocations: 327.4 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.3434, allocations: 11.92 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3434, allocations: 27.86 kB / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3438, allocations: 219.3 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3438, allocations: 0 / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3438, allocations: 0 / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3438, allocations: 0 / 1.357 GB, free: 4.727 MB / 1.045 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.000652/0.3444, allocations: 325.8 kB / 1.358 GB, free: 4.379 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3445, allocations: 12.03 kB / 1.358 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/0.3449, allocations: 72.84 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.345, allocations: 114.4 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.3451, allocations: 4.375 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3451, allocations: 8.375 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.3455, allocations: 117.8 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3455, allocations: 11.94 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3455, allocations: 4 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3455, allocations: 0 / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.346, allocations: 99.89 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.3466, allocations: 303.8 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.3472, allocations: 154.4 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3474, allocations: 56.8 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3475, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3475, allocations: 30.56 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3475, allocations: 4 kB / 1.359 GB, free: 3.309 MB / 1.045 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.3655, allocations: 2.689 MB / 1.361 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3656, allocations: 59.28 kB / 1.361 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.3656, allocations: 97.84 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.3657, allocations: 29.7 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.3657, allocations: 84.14 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.3658, allocations: 47.64 kB / 1.361 GB, free: 224 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.366, allocations: 69.58 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3661, allocations: 310.8 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.3668, allocations: 195.8 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.3674, allocations: 190.3 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3687, allocations: 392.5 kB / 1.363 GB, free: 15.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3687, allocations: 0 / 1.363 GB, free: 15.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001529/0.3702, allocations: 485.2 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3702, allocations: 8 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3702, allocations: 0 / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3703, allocations: 4.125 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.3711, allocations: 103.8 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.3711, allocations: 11.94 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.3717, allocations: 39.94 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.3718, allocations: 27.92 kB / 1.363 GB, free: 14.4 MB / 1.061 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.0001603/0.3719, allocations: 114.5 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.372, allocations: 7.984 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.3721, allocations: 12.06 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3721, allocations: 4 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3721, allocations: 3.938 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3721, allocations: 3.938 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.3743, allocations: 1.019 MB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.3743, allocations: 8.031 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.3752, allocations: 103.7 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3752, allocations: 7.938 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.3752, allocations: 23.94 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3752, allocations: 7.938 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3752, allocations: 3.984 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.3775, allocations: 0.7801 MB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.3777, allocations: 39.88 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.3777, allocations: 4 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.3784, allocations: 51.98 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.3785, allocations: 27.92 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.3786, allocations: 27.94 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.3786, allocations: 79.28 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3786, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003815/0.379, allocations: 63.86 kB / 1.366 GB, free: 11.88 MB / 1.061 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.0002201/0.3792, allocations: 109.8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.3806, allocations: 415.5 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3806, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.3813, allocations: 228 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3817, allocations: 8 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.3859, allocations: 0.793 MB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3862, allocations: 0.6924 MB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.3865, allocations: 75.23 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3865, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of Templates: time 0.006182/0.3927, allocations: 3.793 MB / 1.371 GB, free: 5.707 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.337005487992428] Failed to read output from testmodel.py, exit status != 0: 0.4011142780072987 0.41512552999999996 0.06825402300000001 Calling exit ...