Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001312/0.001312, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.001467/0.001467, allocations: 165 kB / 24.17 MB, free: 168 kB / 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.9402/0.9402, allocations: 177.1 MB / 204.6 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.931/1.931, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.791e-05, allocations: 8.844 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002316/0.002344, allocations: 0.8099 MB / 0.776 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.004304, allocations: 1.499 MB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.004343, allocations: 0 / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.004375, allocations: 3.938 kB / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.004426, allocations: 5.578 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.004884, allocations: 148.2 kB / 0.7776 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.004966, allocations: 52.77 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.005003, allocations: 11.98 kB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.027e-05/0.005093, allocations: 37.53 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.005139, allocations: 24.97 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.005154, allocations: 4 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.005426, allocations: 255.4 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.005448, allocations: 12.56 kB / 0.778 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.005473, allocations: 19.92 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.005761, allocations: 216.1 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.005766, allocations: 9.438 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005767, allocations: 0 / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.005772, allocations: 0 / 0.7782 GB, free: 2.301 MB / 0.7292 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.0004093/0.006182, allocations: 293.6 kB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.006217, allocations: 9.344 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.006421, allocations: 58.91 kB / 0.7786 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.006496, allocations: 114.6 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.006512, allocations: 4.375 kB / 0.7787 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.006534, allocations: 13.77 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.006716, allocations: 150.9 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.006725, allocations: 192 / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.006736, allocations: 9.062 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.006742, allocations: 3.938 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.00679, allocations: 21.7 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.007077, allocations: 208.1 kB / 0.7791 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.007186, allocations: 59.39 kB / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.007209, allocations: 17.41 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.007223, allocations: 3.938 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.007246, allocations: 39.5 kB / 0.7792 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 7.32e-07/0.007247, allocations: 0 / 0.7792 GB, free: 1.223 MB / 0.7292 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.007424/0.01467, allocations: 2.142 MB / 0.7813 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.0147, allocations: 52.56 kB / 0.7813 GB, free: 15.02 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.407e-05/0.01475, allocations: 106.7 kB / 0.7814 GB, free: 14.9 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.01479, allocations: 33.7 kB / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.01482, allocations: 92.64 kB / 0.7816 GB, free: 14.77 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.01486, allocations: 41.39 kB / 0.7816 GB, free: 14.73 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.01496, allocations: 57.7 kB / 0.7817 GB, free: 14.66 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.01502, allocations: 318.8 kB / 0.782 GB, free: 14.34 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.01514, allocations: 99.92 kB / 0.7821 GB, free: 14.25 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.01525, allocations: 97.84 kB / 0.7821 GB, free: 14.15 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.01549, allocations: 234.4 kB / 0.7824 GB, free: 13.92 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.0155, allocations: 0 / 0.7824 GB, free: 13.92 MB / 0.7449 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003046/0.0158, allocations: 242.5 kB / 0.7826 GB, free: 13.68 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.01581, allocations: 5.562 kB / 0.7826 GB, free: 13.68 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.01582, allocations: 1.906 kB / 0.7826 GB, free: 13.68 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01583, allocations: 0 / 0.7826 GB, free: 13.68 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.01613, allocations: 88.75 kB / 0.7827 GB, free: 13.59 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.01613, allocations: 0 / 0.7827 GB, free: 13.59 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.01632, allocations: 33.8 kB / 0.7827 GB, free: 13.56 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.01635, allocations: 19.94 kB / 0.7827 GB, free: 13.54 MB / 0.7449 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.0001056/0.01646, allocations: 114.6 kB / 0.7829 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.01651, allocations: 11.92 kB / 0.7829 GB, free: 13.41 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.01654, allocations: 17.19 kB / 0.7829 GB, free: 13.39 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01654, allocations: 4 kB / 0.7829 GB, free: 13.39 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01654, allocations: 1.031 kB / 0.7829 GB, free: 13.39 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.01654, allocations: 0 / 0.7829 GB, free: 13.39 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.01713, allocations: 471.4 kB / 0.7833 GB, free: 12.91 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01714, allocations: 0 / 0.7833 GB, free: 12.91 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.01742, allocations: 81.91 kB / 0.7834 GB, free: 12.83 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01743, allocations: 4 kB / 0.7834 GB, free: 12.82 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.01746, allocations: 15.94 kB / 0.7834 GB, free: 12.81 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01746, allocations: 1.625 kB / 0.7834 GB, free: 12.81 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01746, allocations: 0 / 0.7834 GB, free: 12.81 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.01798, allocations: 459.4 kB / 0.7839 GB, free: 12.35 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.01805, allocations: 27.94 kB / 0.7839 GB, free: 12.32 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.01809, allocations: 4 kB / 0.7839 GB, free: 12.32 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.0183, allocations: 25.44 kB / 0.7839 GB, free: 12.29 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01835, allocations: 27.92 kB / 0.784 GB, free: 12.27 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.01838, allocations: 20.55 kB / 0.784 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.037e-05/0.01839, allocations: 8.859 kB / 0.784 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of sort global known variables: time 7e-08/0.01839, allocations: 0.5312 kB / 0.784 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002243/0.01862, allocations: 57 kB / 0.784 GB, free: 12.18 MB / 0.7449 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.0001445/0.01876, allocations: 96.33 kB / 0.7841 GB, free: 12.08 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.01913, allocations: 242.3 kB / 0.7844 GB, free: 11.84 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01914, allocations: 4 kB / 0.7844 GB, free: 11.84 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.01929, allocations: 133.9 kB / 0.7845 GB, free: 11.7 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.01944, allocations: 35.86 kB / 0.7845 GB, free: 11.67 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.02086, allocations: 0.5683 MB / 0.7851 GB, free: 11.11 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.02089, allocations: 63.34 kB / 0.7851 GB, free: 11.02 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.02118, allocations: 95.69 kB / 0.7852 GB, free: 10.96 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.02144, allocations: 99.23 kB / 0.7853 GB, free: 10.87 MB / 0.7449 GB Notification: Performance of SimCode: time 5.91e-07/0.02144, allocations: 0 / 0.7853 GB, free: 10.87 MB / 0.7449 GB Notification: Performance of Templates: time 0.004575/0.02601, allocations: 3.858 MB / 0.7891 GB, free: 7.02 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.153538920916617]