Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001399/0.001399, 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.001606/0.001606, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.377/3.377, allocations: 0.49 GB / 0.7958 GB, free: 33.43 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.002035/0.002035, allocations: 75.61 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3264, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001893/0.3282, allocations: 0.6136 MB / 1.328 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3305, allocations: 1.529 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.3305, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.3305, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.3305, allocations: 3.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.3311, allocations: 139.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.3312, allocations: 31.91 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3312, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.3313, allocations: 19.98 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.3313, allocations: 23.91 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3314, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.3318, allocations: 315.3 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.3319, allocations: 8 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.3319, allocations: 19.92 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.3322, allocations: 191.5 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3322, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3322, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3322, allocations: 0 / 1.33 GB, free: 14.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005543/0.3328, allocations: 294 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3328, allocations: 8.031 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006129/0.3334, allocations: 68.84 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3335, allocations: 106.5 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3336, allocations: 384 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3336, allocations: 8.375 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.334, allocations: 81.88 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.334, allocations: 3.938 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.334, allocations: 0 / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.334, allocations: 4 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.3343, allocations: 59.94 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.3345, allocations: 136.8 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.3351, allocations: 122.5 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3353, allocations: 48.86 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/0.3357, allocations: 75.89 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3358, allocations: 34.5 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.3358, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.001175/0.3369, allocations: 333.4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.337, allocations: 55.39 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.3371, allocations: 97.86 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3371, allocations: 29.7 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.3371, allocations: 80.14 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3372, allocations: 19.8 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.3372, allocations: 25.7 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3374, allocations: 310.8 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3376, allocations: 36.09 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.3377, allocations: 39.95 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.338, allocations: 76.98 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.338, allocations: 7.938 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000379/0.3384, allocations: 109.6 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3384, allocations: 8 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3384, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3384, allocations: 3.984 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3386, allocations: 23.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3386, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3387, allocations: 15.97 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3387, allocations: 4 kB / 1.332 GB, free: 12.03 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 (6): * Single equations (assignments): 6 * 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 9.56e-05/0.3388, allocations: 113.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.3388, allocations: 7.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.3393, allocations: 133.3 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3393, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3393, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.3393, allocations: 3.984 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3395, allocations: 140.7 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3395, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3396, allocations: 35.84 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3397, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3397, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3397, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3397, allocations: 4 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.3403, allocations: 193.1 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.3403, allocations: 11.95 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3403, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3405, allocations: 11.98 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.3405, allocations: 11.98 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3405, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.3405, allocations: 79.28 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3405, allocations: 4.094 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002467/0.3408, allocations: 31.88 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002521/0.341, allocations: 131.1 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.3414, allocations: 87.86 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3414, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3416, allocations: 43.95 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.3418, allocations: 1.891 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.3425, allocations: 215 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3428, allocations: 0.6846 MB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.3429, allocations: 11.44 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3429, allocations: 0 / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of Templates: time 0.002992/0.3459, allocations: 1.14 MB / 1.335 GB, free: 8.809 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.635853603016585] Failed to read output from testmodel.py, exit status != 0: 0.35438374301884323 0.37003805 0.03452371 Calling exit ...