Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000622/0.000622, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007567/0.0007567, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8642/0.8642, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.611/1.611, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.468e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001225/0.001249, allocations: 0.7646 MB / 0.9525 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.00259, allocations: 1.467 MB / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.00262, allocations: 0 / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.002649, allocations: 3.984 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.633e-05/0.002685, allocations: 3.938 kB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.003087, allocations: 151.9 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.003165, allocations: 47.89 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.003203, allocations: 4 kB / 0.9542 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.436e-05/0.003287, allocations: 43.83 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.003333, allocations: 27.95 kB / 0.9542 GB, free: 404 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.00335, allocations: 4 kB / 0.9542 GB, free: 400 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.003587, allocations: 251.5 kB / 0.9545 GB, free: 148 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.003605, allocations: 15.92 kB / 0.9545 GB, free: 132 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.003627, allocations: 15.97 kB / 0.9545 GB, free: 116 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.003877, allocations: 231.3 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003879, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.61e-07/0.00388, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003885, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 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.0004476/0.004332, allocations: 333.8 kB / 0.9551 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.004367, allocations: 8.031 kB / 0.9551 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.004599, allocations: 68.84 kB / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.267e-05/0.004671, allocations: 113.7 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.004698, allocations: 8.375 kB / 0.9552 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.004719, allocations: 12.31 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.004955, allocations: 164.4 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.004965, allocations: 4.188 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.004977, allocations: 384 / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.004985, allocations: 7.938 kB / 0.9554 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.005216, allocations: 99.89 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.005599, allocations: 272.3 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.005914, allocations: 150.4 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.006026, allocations: 60.81 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.00604, allocations: 3.938 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.006062, allocations: 42.55 kB / 0.956 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006063, allocations: 0 / 0.956 GB, free: 14.45 MB / 0.9167 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.008619/0.01468, allocations: 2.684 MB / 0.9586 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.01471, allocations: 51.41 kB / 0.9587 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.01476, allocations: 97.86 kB / 0.9588 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.0148, allocations: 33.7 kB / 0.9588 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.01483, allocations: 88.08 kB / 0.9589 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.01488, allocations: 35.7 kB / 0.9589 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01499, allocations: 65.67 kB / 0.959 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.01506, allocations: 330.7 kB / 0.9593 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.01541, allocations: 191.8 kB / 0.9595 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.01575, allocations: 195.8 kB / 0.9597 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.01645, allocations: 388.5 kB / 0.9601 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01645, allocations: 0 / 0.9601 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008322/0.01728, allocations: 487.3 kB / 0.9605 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.0173, allocations: 7.984 kB / 0.9605 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.0173, allocations: 0 / 0.9605 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.01732, allocations: 0 / 0.9605 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.01767, allocations: 107.8 kB / 0.9606 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01768, allocations: 0 / 0.9606 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.01793, allocations: 43.94 kB / 0.9607 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.01796, allocations: 23.94 kB / 0.9607 GB, free: 9.547 MB / 0.9167 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 9.886e-05/0.01806, allocations: 121.8 kB / 0.9608 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.01811, allocations: 7.953 kB / 0.9608 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.01814, allocations: 20.05 kB / 0.9608 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01814, allocations: 0 / 0.9608 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.01815, allocations: 4 kB / 0.9608 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01815, allocations: 192 / 0.9608 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.01936, allocations: 0.9646 MB / 0.9618 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01936, allocations: 3.984 kB / 0.9618 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.0197, allocations: 107.7 kB / 0.9619 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01971, allocations: 0 / 0.9619 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.01974, allocations: 23.92 kB / 0.9619 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01974, allocations: 4 kB / 0.9619 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01974, allocations: 320 / 0.9619 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.021, allocations: 0.7878 MB / 0.9627 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.02109, allocations: 39.92 kB / 0.9627 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.02112, allocations: 4 kB / 0.9627 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.0214, allocations: 47.94 kB / 0.9628 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.02146, allocations: 31.92 kB / 0.9628 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.02149, allocations: 23.88 kB / 0.9628 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.595e-05/0.02152, allocations: 83.27 kB / 0.9629 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.02152, allocations: 4 kB / 0.9629 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002358/0.02175, allocations: 55.94 kB / 0.963 GB, free: 7.098 MB / 0.9167 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.0001505/0.0219, allocations: 119.1 kB / 0.9631 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.02266, allocations: 411.5 kB / 0.9635 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02267, allocations: 0 / 0.9635 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.02304, allocations: 228 kB / 0.9637 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.02327, allocations: 16.16 kB / 0.9637 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.02548, allocations: 0.7716 MB / 0.9645 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.02552, allocations: 83.02 kB / 0.9645 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.02578, allocations: 84.23 kB / 0.9646 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of SimCode: time 2.81e-07/0.02578, allocations: 4 kB / 0.9646 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.003486/0.02927, allocations: 3.806 MB / 0.9683 GB, free: 1.523 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.408182169310749] Failed to read output from testmodel.py, exit status != 0: 0.034501971676945686 0.04242601 0.036969020000000005 Calling exit ...