Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 109 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001913, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437.1 MB / 0.7177 GB, free: 4.488 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.91 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002093/0.3308, allocations: 0.6039 MB / 1.176 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.333, allocations: 1.447 MB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.333, allocations: 3.938 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.333, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.712e-05/0.3331, allocations: 3.938 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.3336, allocations: 143.4 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.3337, allocations: 35.89 kB / 1.178 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.3338, allocations: 0 / 1.178 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.3338, allocations: 19.98 kB / 1.178 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.3339, allocations: 19.97 kB / 1.178 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3339, allocations: 4 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.3345, allocations: 323.3 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.3345, allocations: 3.984 kB / 1.178 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.3345, allocations: 11.98 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.3348, allocations: 191.5 kB / 1.179 GB, free: 3.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3349, allocations: 4 kB / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3349, allocations: 0 / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3349, allocations: 0 / 1.179 GB, free: 3.047 MB / 0.92 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.0006221/0.3355, allocations: 363.1 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3355, allocations: 12.03 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.336, allocations: 64.84 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3362, allocations: 172.3 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3362, allocations: 384 / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.3363, allocations: 4.375 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3365, allocations: 77.95 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3366, allocations: 11.92 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3366, allocations: 0 / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3366, allocations: 0 / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.3369, allocations: 63.92 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.3371, allocations: 165.7 kB / 1.18 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.3377, allocations: 126.5 kB / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3379, allocations: 44.91 kB / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/0.3384, allocations: 153 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3385, allocations: 38.5 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3385, allocations: 0 / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.001239/0.3397, allocations: 406.1 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3398, allocations: 51.41 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.3398, allocations: 101.8 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3399, allocations: 25.7 kB / 1.18 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.3399, allocations: 80.27 kB / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.34, allocations: 23.89 kB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.34, allocations: 17.7 kB / 1.181 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3402, allocations: 318.8 kB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3404, allocations: 35.91 kB / 1.181 GB, free: 472 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3406, allocations: 39.95 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.3409, allocations: 80.94 kB / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3409, allocations: 0 / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003837/0.3413, allocations: 117.6 kB / 1.181 GB, free: 224 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3413, allocations: 4 kB / 1.181 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3413, allocations: 0 / 1.181 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3413, allocations: 4 kB / 1.181 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3415, allocations: 23.97 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3415, allocations: 0 / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3416, allocations: 15.98 kB / 1.181 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3416, allocations: 0 / 1.181 GB, free: 176 kB / 0.92 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 8.982e-05/0.3417, allocations: 117.8 kB / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.3417, allocations: 7.891 kB / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.3422, allocations: 133.2 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3423, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3423, allocations: 7.938 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3423, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.3424, allocations: 165.7 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3425, allocations: 0 / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3426, allocations: 27.91 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3426, allocations: 0 / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3427, allocations: 8 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3427, allocations: 3.938 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3427, allocations: 0 / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.3433, allocations: 181.2 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.3434, allocations: 92.98 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3434, allocations: 8.031 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3435, allocations: 16.05 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.3436, allocations: 336 / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3436, allocations: 4 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.3436, allocations: 83.27 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3436, allocations: 0 / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002392/0.3439, allocations: 31.88 kB / 1.182 GB, free: 15.2 MB / 0.9356 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.000229/0.3441, allocations: 131.2 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3445, allocations: 87.86 kB / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3445, allocations: 0 / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.3447, allocations: 43.97 kB / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.3449, allocations: 16.16 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.3455, allocations: 214.9 kB / 1.182 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3459, allocations: 0.6807 MB / 1.183 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.3459, allocations: 15.42 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.3459, allocations: 0 / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.002889/0.3488, allocations: 1.12 MB / 1.184 GB, free: 12.83 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.270811493974179] Failed to read output from testmodel.py, exit status != 0: 0.3561449529370293 0.36907384800000004 0.031581597 Calling exit ...