Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001351/0.001351, allocations: 110.2 kB / 19.69 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.001567/0.001567, allocations: 211.6 kB / 23.01 MB, free: 4.566 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002092/0.002092, allocations: 68.19 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 169.9 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001859/0.3446, allocations: 0.6277 MB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3468, allocations: 1.515 MB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.3469, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.3469, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.702e-05/0.3469, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.3475, allocations: 139.4 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.3475, allocations: 27.97 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.3476, allocations: 11.94 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.3476, allocations: 15.92 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.3477, allocations: 27.97 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3477, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005007/0.3482, allocations: 319.4 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.3483, allocations: 7.984 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.3483, allocations: 15.92 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.3486, allocations: 191.5 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3486, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3486, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3486, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 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.0005693/0.3492, allocations: 290 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3493, allocations: 19.95 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004812/0.3497, allocations: 60.86 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3498, allocations: 110.5 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3499, allocations: 4.359 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.3499, allocations: 384 / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.3502, allocations: 77.89 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3502, allocations: 4 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3502, allocations: 4 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3502, allocations: 0 / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.3505, allocations: 63.92 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.3507, allocations: 136.8 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.3513, allocations: 122.6 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3515, allocations: 44.91 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/0.352, allocations: 83.89 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.352, allocations: 46.44 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.352, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.001198/0.3532, allocations: 329 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3532, allocations: 55.41 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.3533, allocations: 97.84 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3533, allocations: 29.64 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.3534, allocations: 84.14 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.3534, allocations: 15.86 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3535, allocations: 21.7 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3536, allocations: 314.8 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3538, allocations: 36.09 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3539, allocations: 31.97 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3542, allocations: 80.8 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3542, allocations: 0 / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003645/0.3546, allocations: 117.5 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3546, allocations: 4 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.3546, allocations: 4 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.3547, allocations: 4 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3548, allocations: 23.97 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3548, allocations: 0 / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3549, allocations: 15.98 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3549, allocations: 0 / 1.29 GB, free: 5.82 MB / 0.9825 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.763e-05/0.355, allocations: 109.8 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.355, allocations: 7.938 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.3555, allocations: 141.2 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3555, allocations: 4 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3555, allocations: 0 / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3555, allocations: 320 / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3557, allocations: 140.7 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3557, allocations: 4 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3559, allocations: 27.91 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3559, allocations: 4 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3559, allocations: 4 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3559, allocations: 0 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3559, allocations: 0 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.3565, allocations: 185 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.3565, allocations: 11.95 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3565, allocations: 4 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3566, allocations: 15.97 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.3567, allocations: 3.938 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3567, allocations: 4 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.3567, allocations: 83.33 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3567, allocations: 4 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002434/0.357, allocations: 31.88 kB / 1.29 GB, free: 4.977 MB / 0.9825 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.0002162/0.3572, allocations: 123.1 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.3575, allocations: 87.95 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3576, allocations: 0 / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.3577, allocations: 39.97 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3579, allocations: 9.375 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.3585, allocations: 215 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3589, allocations: 0.6768 MB / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.3589, allocations: 19.42 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3589, allocations: 0 / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.003051/0.362, allocations: 1.123 MB / 1.293 GB, free: 2.625 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.504534637002507] Failed to read output from testmodel.py, exit status != 0: 1.0037051609833725 0.385914773 0.03417672 Calling exit ...