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.001473/0.001473, 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.001537/0.001537, allocations: 222.3 kB / 22.99 MB, free: 4.914 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.272/3.272, allocations: 0.4892 GB / 0.7951 GB, free: 35.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.002212/0.002212, allocations: 73.81 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 176.1 MB / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001849/0.3661, allocations: 0.6098 MB / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.3684, allocations: 1.436 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.3684, allocations: 3.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.3684, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.671e-05/0.3684, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.3689, allocations: 143.5 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.369, allocations: 27.97 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.3691, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.3691, allocations: 27.91 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.3692, allocations: 19.95 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3692, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.3696, allocations: 243.5 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.3697, allocations: 23.84 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.3697, allocations: 3.984 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.37, allocations: 179.5 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.37, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.37, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.37, allocations: 0 / 1.329 GB, free: 15.07 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.0005712/0.3706, allocations: 298 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3706, allocations: 8.031 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.3711, allocations: 68.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3712, allocations: 106.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3712, allocations: 4.375 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3712, allocations: 384 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.3715, allocations: 107.6 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3715, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3715, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3715, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.3719, allocations: 67.88 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.372, allocations: 109.3 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.3726, allocations: 122.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3728, allocations: 44.92 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/0.3732, allocations: 75.91 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3733, allocations: 34.56 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3733, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.00127/0.3745, allocations: 337 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.3746, allocations: 55.34 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/0.3747, allocations: 93.86 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3747, allocations: 33.83 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.3747, allocations: 80.14 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.3748, allocations: 15.86 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.3748, allocations: 21.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.375, allocations: 318.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3752, allocations: 35.95 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.3753, allocations: 35.97 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.3756, allocations: 80.98 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3756, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003957/0.376, allocations: 109.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.376, allocations: 11.94 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3761, allocations: 7.922 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3761, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3762, allocations: 19.98 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3762, allocations: 3.938 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3764, allocations: 15.98 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3764, allocations: 0 / 1.331 GB, free: 12.59 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 0.0001416/0.3765, allocations: 117.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.3765, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.377, allocations: 137.2 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.377, allocations: 7.984 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.377, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3771, allocations: 336 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.3772, allocations: 109.3 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3772, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3774, allocations: 23.97 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3774, allocations: 7.938 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3774, allocations: 7.938 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3774, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3774, allocations: 7.984 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.3781, allocations: 185.1 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.3782, allocations: 4.031 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3782, allocations: 7.922 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3783, allocations: 15.98 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.3783, allocations: 7.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3784, allocations: 3.984 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.3784, allocations: 83.34 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3784, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002847/0.3787, allocations: 31.88 kB / 1.332 GB, free: 11.77 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.00029/0.379, allocations: 131.1 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.3794, allocations: 80.02 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3794, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.3796, allocations: 47.89 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.3798, allocations: 9.719 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008817/0.3807, allocations: 207 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.419e-05/0.3808, allocations: 67.34 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.3808, allocations: 19.42 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3808, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of Templates: time 0.003578/0.3844, allocations: 1.136 MB / 1.334 GB, free: 10.02 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.521466406062245] Failed to read output from testmodel.py, exit status != 0: 0.39312497107312083 0.40807499900000005 0.034881571 Calling exit ...