Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001995/0.001995, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002924/0.002924, allocations: 223.1 kB / 23 MB, free: 4.91 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.369/3.369, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002123/0.002123, allocations: 71.73 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 176.1 MB / 1.326 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002112/0.3676, allocations: 0.7713 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3697, allocations: 1.458 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.3698, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.3698, allocations: 3.938 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.3699, allocations: 3.938 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3704, allocations: 151.4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.3705, allocations: 47.91 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.3705, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.3706, allocations: 31.91 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.3707, allocations: 31.89 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3707, allocations: 4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.3711, allocations: 251.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.3712, allocations: 11.92 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.3712, allocations: 19.94 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3715, allocations: 207.3 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3715, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3715, allocations: 4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3715, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 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.0006631/0.3722, allocations: 325.8 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3722, allocations: 8.031 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.3727, allocations: 72.8 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3728, allocations: 110.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.3728, allocations: 8.375 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3729, allocations: 8.328 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.3733, allocations: 169.3 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3733, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3733, allocations: 4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3733, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.3738, allocations: 103.9 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.3744, allocations: 272.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.3751, allocations: 162.4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.3753, allocations: 48.81 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3753, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3753, allocations: 38.55 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3753, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 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.01808/0.3934, allocations: 2.68 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.3935, allocations: 55.39 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3936, allocations: 113.7 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.3937, allocations: 29.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.3937, allocations: 92.08 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.3938, allocations: 35.66 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.394, allocations: 69.58 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3941, allocations: 318.8 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.3948, allocations: 191.8 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/0.3955, allocations: 195.8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.3969, allocations: 387.4 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3969, allocations: 0 / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001629/0.3985, allocations: 481.5 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3986, allocations: 10.02 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3986, allocations: 0 / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3986, allocations: 7.938 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.3994, allocations: 107.8 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.3994, allocations: 0 / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/0.4, allocations: 55.88 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.4001, allocations: 19.94 kB / 1.335 GB, free: 8.406 MB / 1.029 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.0001828/0.4003, allocations: 114.4 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.4004, allocations: 7.984 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.4004, allocations: 12.06 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4004, allocations: 4 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4004, allocations: 0 / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4004, allocations: 3.938 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.4028, allocations: 0.9646 MB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4028, allocations: 0 / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/0.4037, allocations: 107.8 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4037, allocations: 0 / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.4037, allocations: 27.92 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4037, allocations: 3.938 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4038, allocations: 3.938 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.4063, allocations: 0.7917 MB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4065, allocations: 35.92 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.4065, allocations: 4 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.4072, allocations: 47.94 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.4073, allocations: 31.92 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.4074, allocations: 27.94 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.4074, allocations: 79.27 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4074, allocations: 0 / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003845/0.4078, allocations: 55.94 kB / 1.337 GB, free: 5.965 MB / 1.029 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.0002455/0.408, allocations: 115.2 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.4096, allocations: 419.5 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4096, allocations: 0 / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.4103, allocations: 227.6 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4107, allocations: 8 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.415, allocations: 0.7864 MB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.076e-05/0.4151, allocations: 75.33 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.4155, allocations: 75.23 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.4155, allocations: 0 / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of Templates: time 0.006604/0.4221, allocations: 3.812 MB / 1.343 GB, free: 404 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.018086723983288] Failed to read output from testmodel.py, exit status != 0: 0.4312034039758146 0.446360102 0.07148367900000001 Calling exit ...