Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009191/0.0009191, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009703/0.0009703, allocations: 161 kB / 24.17 MB, free: 332 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.9831/0.9831, allocations: 177.2 MB / 204.6 MB, free: 5.145 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 2.192/2.192, allocations: 389.6 MB / 0.6354 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 177] 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 0.7753 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.13e-05, allocations: 6.25 kB / 0.7753 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001316/0.001328, allocations: 0.6737 MB / 0.7759 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.003015, allocations: 1.482 MB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.003033, allocations: 0 / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.003045, allocations: 3.938 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.003067, allocations: 0 / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.003389, allocations: 141.2 kB / 0.7775 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.003443, allocations: 33.28 kB / 0.7775 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.64e-05/0.00347, allocations: 0 / 0.7775 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.003525, allocations: 20.75 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.003582, allocations: 24.7 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.003594, allocations: 4.812 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.003858, allocations: 253.2 kB / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.003871, allocations: 4.672 kB / 0.7778 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.003884, allocations: 8 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.004079, allocations: 208.8 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004081, allocations: 0 / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004081, allocations: 0 / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.004084, allocations: 0 / 0.778 GB, free: 2.453 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002568/0.004341, allocations: 273.3 kB / 0.7783 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.004371, allocations: 9.344 kB / 0.7783 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.004583, allocations: 55.66 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.032e-05/0.004654, allocations: 119.4 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.004664, allocations: 384 / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.00468, allocations: 4.375 kB / 0.7785 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.004806, allocations: 102.2 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.004811, allocations: 192 / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.004818, allocations: 384 / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.004823, allocations: 5.656 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.004857, allocations: 8 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.504e-05/0.004942, allocations: 69.02 kB / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.005092, allocations: 47.2 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.005115, allocations: 14.45 kB / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.005247, allocations: 49.75 kB / 0.7788 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.005265, allocations: 30.56 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.005266, allocations: 1.062 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.000356/0.005622, allocations: 203.5 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.005643, allocations: 51.41 kB / 0.779 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.189e-05/0.005684, allocations: 106.7 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.005696, allocations: 26.83 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/0.005716, allocations: 80.14 kB / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.005741, allocations: 19.8 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.005773, allocations: 26.75 kB / 0.7793 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.005838, allocations: 310.8 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.005855, allocations: 8.5 kB / 0.7796 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.005872, allocations: 13.36 kB / 0.7796 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.005913, allocations: 24.84 kB / 0.7796 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.005913, allocations: 0 / 0.7796 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.07e-05/0.005974, allocations: 50.44 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.005984, allocations: 8 kB / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.005987, allocations: 1.125 kB / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.005994, allocations: 0 / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.006058, allocations: 21.33 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-06/0.00606, allocations: 0 / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.006091, allocations: 15.92 kB / 0.7797 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006097, allocations: 5.281 kB / 0.7797 GB, free: 0.5625 MB / 0.7292 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 4.887e-05/0.006146, allocations: 113.8 kB / 0.7798 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.006155, allocations: 4 kB / 0.7798 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.006256, allocations: 69.12 kB / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.006257, allocations: 0 / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.00626, allocations: 8.516 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006263, allocations: 4.469 kB / 0.7799 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.934e-05/0.006322, allocations: 65.91 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006323, allocations: 0.5625 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.006388, allocations: 19.17 kB / 0.78 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.00639, allocations: 4 kB / 0.78 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.006396, allocations: 7.922 kB / 0.78 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006397, allocations: 0 / 0.78 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006397, allocations: 0 / 0.78 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.00651, allocations: 101.2 kB / 0.7801 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.006531, allocations: 0 / 0.7801 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.00654, allocations: 6.781 kB / 0.7801 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.006574, allocations: 7.984 kB / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.00659, allocations: 3.984 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.006595, allocations: 4 kB / 0.7801 GB, free: 116 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.141e-06/0.006601, allocations: 8.859 kB / 0.7801 GB, free: 104 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006601, allocations: 0 / 0.7801 GB, free: 104 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001208/0.006722, allocations: 37.2 kB / 0.7802 GB, free: 68 kB / 0.7292 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.0001337/0.006856, allocations: 112.2 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.64e-05/0.006952, allocations: 33.91 kB / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.006955, allocations: 0 / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.006994, allocations: 17.77 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.598e-05/0.00707, allocations: 11.98 kB / 0.7803 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.007408, allocations: 146 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.007441, allocations: 59.3 kB / 0.7805 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.67e-05/0.007528, allocations: 22.14 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.007611, allocations: 55.36 kB / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.007611, allocations: 0 / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.00282/0.01043, allocations: 1.322 MB / 0.7819 GB, free: 14.32 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0972723960876465]