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.001973/0.001973, allocations: 121.5 kB / 17.14 MB, free: 5.988 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.002452/0.002452, allocations: 216.8 kB / 20.1 MB, free: 3.043 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.654/1.654, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.022/3.022, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.002044/0.002044, allocations: 71.84 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001672/1.079, allocations: 0.7958 MB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001374/1.081, allocations: 1.528 MB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/1.081, allocations: 4 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/1.081, allocations: 10 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/1.081, allocations: 3.938 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/1.081, allocations: 149.4 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/1.081, allocations: 47.89 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/1.081, allocations: 6.938 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/1.081, allocations: 30.52 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/1.081, allocations: 27.91 kB / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/1.081, allocations: 2.625 kB / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/1.082, allocations: 331 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/1.082, allocations: 10.06 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/1.082, allocations: 28.98 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/1.082, allocations: 212.3 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.082, allocations: 0 / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.082, allocations: 4 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.96e-06/1.082, allocations: 0 / 1.325 GB, free: 23.17 MB / 1.061 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.0005509/1.083, allocations: 405.6 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/1.083, allocations: 11.52 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/1.083, allocations: 74.62 kB / 1.326 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.814e-05/1.083, allocations: 164.3 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.083, allocations: 10.19 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/1.083, allocations: 7.297 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/1.084, allocations: 119.6 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.084, allocations: 2.75 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/1.084, allocations: 0 / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.084, allocations: 3.062 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/1.084, allocations: 101.6 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/1.085, allocations: 341.6 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/1.085, allocations: 149.5 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/1.085, allocations: 56.36 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/1.085, allocations: 0 / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/1.085, allocations: 41.22 kB / 1.327 GB, free: 22.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/1.085, allocations: 0 / 1.327 GB, free: 22.07 MB / 1.061 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.01862/1.104, allocations: 2.837 MB / 1.329 GB, free: 21.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/1.104, allocations: 56.38 kB / 1.329 GB, free: 21.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/1.104, allocations: 100.6 kB / 1.329 GB, free: 21.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/1.104, allocations: 27.66 kB / 1.329 GB, free: 21.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/1.104, allocations: 87.02 kB / 1.33 GB, free: 20.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/1.104, allocations: 40.27 kB / 1.33 GB, free: 20.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.104, allocations: 69.06 kB / 1.33 GB, free: 20.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.484e-05/1.104, allocations: 319 kB / 1.33 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/1.105, allocations: 191.5 kB / 1.33 GB, free: 20.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/1.106, allocations: 199 kB / 1.33 GB, free: 20.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.107, allocations: 396.6 kB / 1.331 GB, free: 20.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.107, allocations: 0 / 1.331 GB, free: 20.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001684/1.109, allocations: 480.1 kB / 1.331 GB, free: 20.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.109, allocations: 5.562 kB / 1.331 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.109, allocations: 0 / 1.331 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.109, allocations: 0.7969 kB / 1.331 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008898/1.11, allocations: 106.6 kB / 1.331 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/1.11, allocations: 4.594 kB / 1.331 GB, free: 20.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/1.111, allocations: 54.23 kB / 1.331 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/1.111, allocations: 23.17 kB / 1.331 GB, free: 20.21 MB / 1.061 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.0001358/1.111, allocations: 118.2 kB / 1.331 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/1.111, allocations: 3.641 kB / 1.331 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/1.111, allocations: 14.03 kB / 1.331 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/1.111, allocations: 6.406 kB / 1.331 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.111, allocations: 7.875 kB / 1.331 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.111, allocations: 0.7031 kB / 1.331 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.113, allocations: 1.051 MB / 1.333 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.113, allocations: 0.5156 kB / 1.333 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/1.114, allocations: 110.8 kB / 1.333 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.114, allocations: 3.938 kB / 1.333 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/1.114, allocations: 23.3 kB / 1.333 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.114, allocations: 0.9062 kB / 1.333 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.114, allocations: 0 / 1.333 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/1.117, allocations: 0.7876 MB / 1.333 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/1.117, allocations: 117.9 kB / 1.334 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/1.117, allocations: 1.953 kB / 1.334 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/1.117, allocations: 55.12 kB / 1.334 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.118, allocations: 25.59 kB / 1.334 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/1.118, allocations: 24.16 kB / 1.334 GB, free: 18.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.239e-05/1.118, allocations: 87.36 kB / 1.334 GB, free: 18.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.118, allocations: 0 / 1.334 GB, free: 18.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004718/1.118, allocations: 47.73 kB / 1.334 GB, free: 18.86 MB / 1.061 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.0002028/1.118, allocations: 122.3 kB / 1.334 GB, free: 18.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00167/1.12, allocations: 419 kB / 1.334 GB, free: 18.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.12, allocations: 4 kB / 1.334 GB, free: 18.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007639/1.121, allocations: 221.5 kB / 1.334 GB, free: 18.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/1.121, allocations: 8.688 kB / 1.335 GB, free: 18.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/1.125, allocations: 0.7874 MB / 1.335 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/1.126, allocations: 0.6952 MB / 1.336 GB, free: 17.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/1.126, allocations: 79.66 kB / 1.336 GB, free: 17.64 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.126, allocations: 3.938 kB / 1.336 GB, free: 17.64 MB / 1.061 GB Notification: Performance of Templates: time 0.006414/1.132, allocations: 3.792 MB / 1.34 GB, free: 17.42 MB / 1.061 GB " [Timeout remaining time 299] 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.42826706499909] Failed to read output from testmodel.py, exit status != 0: 1.1401320720033254 1.149430217 0.06515972 Calling exit ...